Skip to content

Commit 9ae7744

Browse files
committed
Upgrade to clap 3.
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.
1 parent 7940e85 commit 9ae7744

File tree

5 files changed

+513
-482
lines changed

5 files changed

+513
-482
lines changed

Cargo.lock

Lines changed: 89 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
2-
authors = ["Mark Simulacrum <[email protected]>"]
2+
authors = ["The Rust Compiler Team"]
33
name = "collector"
44
version = "0.1.0"
5-
edition = '2018'
5+
edition = "2018"
6+
description = "Collects Rust performance data"
67

78
[dependencies]
8-
clap = "2.25"
9+
clap = { version = "3.0.6", features = ["derive"] }
910
env_logger = "0.8"
1011
anyhow = "1"
1112
thiserror = "1"

0 commit comments

Comments
 (0)