nushell/crates/nu-cli/Cargo.toml
Stefan Holderbach 1cd70d7505
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
2023-02-12 22:22:00 +00:00

43 lines
1.3 KiB
TOML

[package]
authors = ["The Nushell Project Developers"]
description = "CLI-related functionality for Nushell"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cli"
edition = "2021"
license = "MIT"
name = "nu-cli"
version = "0.75.1"
[lib]
bench = false
[dev-dependencies]
nu-test-support = { path = "../nu-test-support", version = "0.75.1" }
nu-command = { path = "../nu-command", version = "0.75.1" }
rstest = { version = "0.15.0", default-features = false }
[dependencies]
nu-engine = { path = "../nu-engine", version = "0.75.1" }
nu-path = { path = "../nu-path", version = "0.75.1" }
nu-parser = { path = "../nu-parser", version = "0.75.1" }
nu-protocol = { path = "../nu-protocol", version = "0.75.1" }
nu-utils = { path = "../nu-utils", version = "0.75.1" }
nu-ansi-term = "0.46.0"
nu-color-config = { path = "../nu-color-config", version = "0.75.1" }
reedline = { version = "0.15.0", features = ["bashisms", "sqlite"] }
atty = "0.2.14"
chrono = { default-features = false, features = ["std"], version = "0.4.23" }
crossterm = "0.24.0"
fancy-regex = "0.11.0"
fuzzy-matcher = "0.3.7"
is_executable = "1.0.1"
once_cell = "1.17.0"
log = "0.4"
miette = { version = "5.5.0", features = ["fancy-no-backtrace"] }
percent-encoding = "2"
sysinfo = "0.27.7"
thiserror = "1.0.31"
[features]
plugin = []