mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 21:58:29 +02:00
Disable auto-benchmark harness for crates (#8057)
# Description This disables automatic detection of `#[bench]` and other benchmarks within the crates. Our benchmarks should all live in `benches` This fixes a problem with criterion flags and should also reduce the build requirements for `cargo bench` a bit Taken from https://github.com/nushell/nushell/pull/7952 See: https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options # User-Facing Changes None
This commit is contained in:
committed by
GitHub
parent
b0775b3f1e
commit
1cd70d7505
@@ -7,6 +7,9 @@ license = "MIT"
|
||||
name = "nu-parser"
|
||||
version = "0.75.1"
|
||||
|
||||
[lib]
|
||||
bench = false
|
||||
|
||||
[dependencies]
|
||||
bytesize = "1.1.0"
|
||||
chrono = { default-features = false, features = ['std'], version = "0.4.23" }
|
||||
|
Reference in New Issue
Block a user