Skip to content

Commit

Permalink
fix: feature resolution (#2274)
Browse files Browse the repository at this point in the history
* fix: feature resolution

* docs: add comment explaining resolver
  • Loading branch information
DaniPopes committed Mar 17, 2023
1 parent 1dc5d40 commit ef7fb0f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions Cargo.toml
Expand Up @@ -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 }
Expand All @@ -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"
Expand All @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion ethers-contract/ethers-contract-abigen/Cargo.toml
Expand Up @@ -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"
Expand Down

0 comments on commit ef7fb0f

Please sign in to comment.