Skip to content

Commit

Permalink
fix: MSRV tests (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Aug 24, 2023
1 parent 4d636c5 commit 22068d7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ proptest-derive = "0.3"
ruint = { version = "1.10.1", default-features = false, features = ["alloc"] }
ruint-macro = { version = "1", default-features = false }
tiny-keccak = "2.0"

# These dependencies have higher a MSRV (clap@4.4.0, clap_lex@0.5.1),
# but are only used by dev-dependencies so we can just pin them
clap = "~4.3"
clap_lex = "<=0.5.0"
9 changes: 3 additions & 6 deletions crates/dyn-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ proptest = { workspace = true, optional = true }

[dev-dependencies]
hex-literal.workspace = true
clap.workspace = true
clap_lex.workspace = true
criterion.workspace = true
ethabi = "18"
rand = "0.8"
Expand All @@ -54,12 +56,7 @@ std = [
"serde?/std",
"serde_json?/std",
]
eip712 = [
"alloy-sol-types/eip712-serde",
"dep:derive_more",
"dep:serde",
"dep:serde_json",
]
eip712 = ["alloy-sol-types/eip712-serde", "dep:derive_more", "dep:serde", "dep:serde_json"]
arbitrary = [
"std",
"alloy-sol-types/arbitrary",
Expand Down
9 changes: 3 additions & 6 deletions crates/json-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,14 @@ serde_json = { workspace = true, optional = true }

[dev-dependencies]
serde_json.workspace = true
clap.workspace = true
clap_lex.workspace = true
criterion.workspace = true
ethabi = "18"

[features]
default = ["std"]
std = [
"serde/std",
"alloy-primitives/std",
"alloy-sol-type-parser/std",
"serde_json?/std",
]
std = ["serde/std", "alloy-primitives/std", "alloy-sol-type-parser/std", "serde_json?/std"]
serde_json = ["dep:serde_json"]

[[bench]]
Expand Down

0 comments on commit 22068d7

Please sign in to comment.