nushell/crates/nu_plugin_example
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
..
src Make plugin commands support examples. (#7984) 2023-02-08 16:14:18 -06:00
Cargo.toml Disable auto-benchmark harness for crates (#8057) 2023-02-12 22:22:00 +00:00
README.md Plugin with evaluated call (#393) 2021-12-02 05:42:56 +00:00

Plugin Example

Crate with a simple example of the Plugin trait that needs to be implemented in order to create a binary that can be registered into nushell declaration list