nushell/crates/nu_plugin_query/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

26 lines
681 B
TOML

[package]
authors = ["The Nushell Project Developers"]
description = "A Nushell plugin to query JSON, XML, and various web data"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_query"
edition = "2021"
license = "MIT"
name = "nu_plugin_query"
version = "0.75.1"
[lib]
doctest = false
bench = false
[[bin]]
name = "nu_plugin_query"
bench = false
[dependencies]
nu-plugin = { path="../nu-plugin", version = "0.75.1" }
nu-protocol = { path="../nu-protocol", version = "0.75.1" }
nu-engine = { path="../nu-engine", version = "0.75.1" }
gjson = "0.8.0"
scraper = { default-features = false, version = "0.14.0" }
sxd-document = "0.3.2"
sxd-xpath = "0.4.2"