Skip to content

Commit

Permalink
upgrade clap
Browse files Browse the repository at this point in the history
  • Loading branch information
mangas committed Apr 11, 2024
1 parent d02c4ca commit 45c3bb4
Show file tree
Hide file tree
Showing 9 changed files with 128 additions and 71 deletions.
134 changes: 95 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ tonic = { version = "0.8.3", features = ["tls-roots", "gzip"] }
tonic-build = { version = "0.8.4", features = ["prost"] }
wasmtime = "15.0.1"
wasmparser = "0.118.1"
clap = { version = "4.5.4", features = ["derive", "env"] }

# Incremental compilation on Rust 1.58 causes an ICE on build. As soon as graph node builds again, these can be removed.
[profile.test]
Expand Down
2 changes: 1 addition & 1 deletion graph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ csv = "1.3.0"
object_store = { version = "0.9.1", features = ["gcp"] }

[dev-dependencies]
clap = { version = "3.2.25", features = ["derive", "env"] }
clap.workspace = true
maplit = "1.0.2"
hex-literal = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion graph/examples/stress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ fn stress<T: Template>(opt: &Opt) {
/// memory used on the heap since we started inserting into the cache to
/// the target `cache_size`
pub fn main() {
let opt = Opt::from_args();
let opt = Opt::parse();
unsafe { PRINT_SAMPLES = opt.samples }

// Use different Cacheables to see how the cache manages memory with
Expand Down
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name = "graphman"
path = "src/bin/manager.rs"

[dependencies]
clap = { version = "3.2.25", features = ["derive", "env"] }
clap.workspace = true
env_logger = "0.10.1"
git-testament = "0.2"
futures = { version = "0.3.1", features = ["compat"] }
Expand Down
Loading

0 comments on commit 45c3bb4

Please sign in to comment.