diff --git a/Cargo.toml b/Cargo.toml index 7e70cb7e4..ab7bf7ef1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,6 +58,10 @@ default-members = [ "ethers-solc", ] +# Explicitly set the resolver to version 2, which is the default for packages with edition >= 2021 +# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html +resolver = "2" + [workspace.dependencies] # workspace crates ethers = { version = "2.0.0", path = "ethers", default-features = false } @@ -77,11 +81,11 @@ ethers-derive-eip712 = { version = "2.0.0", path = "ethers-core/ethers-derive-ei # async / async utils tokio = "1.26" tokio-tungstenite = { version = "0.18.0", default-features = false } -futures = { version = "0.3.27", default-features = false } -futures-core = { version = "0.3.27", default-features = false } -futures-util = { version = "0.3.27", default-features = false } -futures-executor = { version = "0.3.27", default-features = false } -futures-channel = { version = "0.3.27", default-features = false } +futures = { version = "0.3.27", default-features = false, features = ["std"] } +futures-core = "0.3.27" +futures-util = "0.3.27" +futures-executor = "0.3.27" +futures-channel = "0.3.27" futures-locks = { version = "0.7.1", default-features = false } futures-timer = { version = "3.0.2", default-features = false, features = ["wasm-bindgen"] } pin-project = "1.0" @@ -103,7 +107,7 @@ serde_json = "1.0" # macros proc-macro2 = "1.0" quote = "1.0" -syn = "1.0" +syn = { version = "1.0", features = ["extra-traits"] } async-trait = "0.1.66" auto_impl = "1.0" diff --git a/ethers-contract/ethers-contract-abigen/Cargo.toml b/ethers-contract/ethers-contract-abigen/Cargo.toml index 3c15c8a02..fdbb5a47d 100644 --- a/ethers-contract/ethers-contract-abigen/Cargo.toml +++ b/ethers-contract/ethers-contract-abigen/Cargo.toml @@ -30,7 +30,7 @@ ethers-core = { workspace = true, features = ["macros"] } proc-macro2.workspace = true quote.workspace = true -syn = { workspace = true, features = ["full"] } +syn.workspace = true prettyplease = "0.1.25" Inflector = "0.11"