fix(solc): features part 2
This commit is contained in:
parent
80ac3947d0
commit
2e77b6bcdc
|
@ -47,7 +47,7 @@ ethers-solc.workspace = true
|
|||
ethers-providers = { workspace = true, features = ["ws"] }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
tokio = { workspace = true, features = ["macros"] }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[features]
|
||||
default = ["abigen"]
|
||||
|
|
|
@ -621,7 +621,7 @@ mod tests {
|
|||
fn serde_to_string_match() {
|
||||
for chain in Chain::iter() {
|
||||
let chain_serde = serde_json::to_string(&chain).unwrap();
|
||||
let chain_string = format!("\"{}\"", chain.to_string());
|
||||
let chain_string = format!("\"{chain}\"");
|
||||
assert_eq!(chain_serde, chain_string);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ once_cell.workspace = true
|
|||
reqwest = { workspace = true, features = ["json", "rustls"] }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
tokio = { workspace = true, features = ["rt", "macros", "time"] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time"] }
|
||||
|
||||
[features]
|
||||
default = ["rustls"]
|
||||
|
|
|
@ -74,7 +74,7 @@ web-sys = { version = "0.3", features = ["console"] }
|
|||
getrandom.workspace = true
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
tokio = { workspace = true, features = ["rt", "macros", "time"] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time"] }
|
||||
tempfile = "3.4.0"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -74,7 +74,7 @@ tracing-subscriber.workspace = true
|
|||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
yubihsm = { version = "0.42.0-pre.0", features = ["secp256k1", "usb", "mockhsm"] }
|
||||
tokio = { workspace = true, features = ["macros", "rt"] }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[features]
|
||||
futures = ["futures-util", "futures-executor"]
|
||||
|
|
|
@ -64,7 +64,7 @@ svm = { package = "svm-rs", version = "0.2", default-features = false, features
|
|||
"blocking",
|
||||
], optional = true }
|
||||
svm-builds = { package = "svm-rs-builds", version = "0.1", optional = true }
|
||||
tokio = { workspace = true, features = ["rt"] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
# NOTE: this enables wasm compatibility for getrandom indirectly
|
||||
|
|
Loading…
Reference in New Issue