clap/clap_bench/Cargo.toml
Ed Page 34368419c2 refactor(bench): Pull out benchmarks into own crate
This is mostly about avoiding criterion's build times when just
developing clap itself.

I'm assuming the derive test changed because criterion's clap v2 isn't
in the dependency tree anymore.
2022-06-03 13:51:26 -05:00

46 lines
837 B
TOML

[package]
name = "clap_bench"
version = "0.0.0"
description = "Benchmarks for clap"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.0" # MSRV
publish = false
[package.metadata.release]
release = false
[dev-dependencies]
clap = { path = "../", version = "3.1.10", default-features = false, features = ["std"] }
criterion = "0.3.2"
lazy_static = "1"
[[bench]]
harness = false
name = "01_default"
path = "benches/01_default.rs"
[[bench]]
harness = false
name = "02_simple"
path = "benches/02_simple.rs"
[[bench]]
harness = false
name = "03_complex"
path = "benches/03_complex.rs"
[[bench]]
harness = false
name = "04_new_help"
path = "benches/04_new_help.rs"
[[bench]]
harness = false
name = "05_ripgrep"
path = "benches/05_ripgrep.rs"
[[bench]]
harness = false
name = "06_rustup"
path = "benches/06_rustup.rs"