Skip to content

Commit

Permalink
dep: pin anstyle to 1.65 compat (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich authored Sep 12, 2023
1 parent 52ce7e4 commit ea86ac5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ 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),
# This crates are dependencies of criterion, with a higher MSRV
# (clap@4.4.0, clap_lex@0.5.1, anstyle@1.0.3),
# but are only used by dev-dependencies so we can just pin them
clap = "~4.3"
clap_lex = "<=0.5.0"
anstyle = "<=1.0.2"
7 changes: 5 additions & 2 deletions crates/dyn-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ 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"
serde_json = { workspace = true }

# MSRV support
clap.workspace = true
clap_lex.workspace = true
anstyle.workspace = true

[features]
default = ["std"]
std = [
Expand Down
7 changes: 5 additions & 2 deletions crates/json-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +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"

# MSRV support
clap.workspace = true
clap_lex.workspace = true
anstyle.workspace = true

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

0 comments on commit ea86ac5

Please sign in to comment.