Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dep: pin anstyle to 1.65 compat #266

Merged
merged 3 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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