fix: Exclude criterion from hakari analysis

Connects to #3117.

Criterion builds clap without default features, which causes clap to be
listed in the workspace hack crate with its default features. In
general, actually building criterion will be rare (and we should move
all benches to separate crates that can be excluded) so it should be
fine to rebuild clap when building benchmarks anyway.
pull/24376/head
Carol (Nichols || Goulding) 2021-11-24 11:40:53 -05:00
parent 39862e3886
commit cf6286364e
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
3 changed files with 1 additions and 3 deletions

View File

@ -38,4 +38,5 @@ workspace-members = [
third-party = [
{ name = "tikv-jemalloc-sys" },
{ name = "pprof" },
{ name = "criterion" },
]

1
Cargo.lock generated
View File

@ -5049,7 +5049,6 @@ dependencies = [
"bytes",
"cc",
"chrono",
"clap",
"either",
"futures",
"futures-channel",

View File

@ -16,7 +16,6 @@ publish = false
ahash = { version = "0.7", features = ["std"] }
bytes = { version = "1", features = ["std"] }
chrono = { version = "0.4", features = ["clock", "libc", "oldtime", "serde", "std", "time", "winapi"] }
clap = { version = "2", features = ["ansi_term", "atty", "color", "strsim", "suggestions", "vec_map"] }
either = { version = "1", features = ["use_std"] }
futures = { version = "0.3", features = ["alloc", "async-await", "executor", "futures-executor", "std"] }
futures-channel = { version = "0.3", features = ["alloc", "futures-sink", "sink", "std"] }
@ -57,7 +56,6 @@ uuid = { version = "0.8", features = ["getrandom", "serde", "std", "v4"] }
ahash = { version = "0.7", features = ["std"] }
bytes = { version = "1", features = ["std"] }
cc = { version = "1", default-features = false, features = ["jobserver", "parallel"] }
clap = { version = "2", features = ["ansi_term", "atty", "color", "strsim", "suggestions", "vec_map"] }
either = { version = "1", features = ["use_std"] }
getrandom = { version = "0.2", default-features = false, features = ["js", "js-sys", "std", "wasm-bindgen"] }
hashbrown = { version = "0.11", features = ["ahash", "inline-more", "raw"] }