Skip to content

Commit

Permalink
fix: MSRV tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Aug 24, 2023
1 parent 4d636c5 commit aa9d7bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ 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 MSRV, but are only used by criterion so we can just lock them
clap = "<4.4.0"
clap_lex = "<0.5.1"
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 aa9d7bb

Please sign in to comment.