fix: feature resolution (#2274)

* fix: feature resolution

* docs: add comment explaining resolver
This commit is contained in:
DaniPopes 2023-03-17 19:34:00 +01:00 committed by GitHub
parent 1dc5d403f4
commit ef7fb0fecf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View File

@ -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"

View File

@ -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"