nextest-filtering is both an executable binary that can be run, and a library that can be used in Rust programs.

Installing the generate-expr-corpus executable

Assuming you have Rust/Cargo installed, run this command in a terminal:

cargo install nextest-filtering

It will make the generate-expr-corpus command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall nextest-filtering uninstalls.

Adding nextest_filtering library as a dependency

Run this command in a terminal, in your project's directory:

cargo add nextest-filtering

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

nextest-filtering = "0.18.0"

The nextest_filtering library will be automatically available globally. Read the nextest_filtering library documentation.

Back to the crate overview.