Skip to content

Commit

Permalink
Upgrade to clap 3.
Browse files Browse the repository at this point in the history
This requires moving away from the deprecated `clap_app!` macro. Clap's
derive API (formerly `StructOpt`) is nicer anyway, because it's not
stringly-typed.

There is quite a bit of furniture moving in `execute.rs` to better
separate the perf tools used for `bench_*` subcommands from those used
for the profile subcommands.
  • Loading branch information
nnethercote committed Jan 11, 2022
1 parent 81ddb42 commit daf36a4
Show file tree
Hide file tree
Showing 5 changed files with 519 additions and 484 deletions.
97 changes: 89 additions & 8 deletions Cargo.lock

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

7 changes: 4 additions & 3 deletions collector/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
authors = ["Mark Simulacrum <mark.simulacrum@gmail.com>"]
authors = ["The Rust Compiler Team"]
name = "collector"
version = "0.1.0"
edition = '2018'
edition = "2018"
description = "Collects Rust performance data"

[dependencies]
clap = "2.25"
clap = { version = "3.0.6", features = ["derive"] }
env_logger = "0.8"
anyhow = "1"
thiserror = "1"
Expand Down
Loading

0 comments on commit daf36a4

Please sign in to comment.