nushell/crates/nu-parser/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

28 lines
789 B
TOML

[package]
authors = ["The Nushell Project Developers"]
description = "Nushell's parser"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-parser"
edition = "2021"
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" }
itertools = "0.10"
miette = {version = "5.5.0", features = ["fancy-no-backtrace"]}
thiserror = "1.0.31"
serde_json = "1.0"
nu-path = {path = "../nu-path", version = "0.75.1" }
nu-protocol = { path = "../nu-protocol", version = "0.75.1" }
nu-plugin = { path = "../nu-plugin", optional = true, version = "0.75.1" }
nu-engine = { path = "../nu-engine", version = "0.75.1" }
log = "0.4"
[features]
plugin = ["nu-plugin"]