rust/worker/README.md
This folder houses the Rust code for the query and compactor nodes. It is a standard rust crate managed using cargo.
In CI, we use Nextest to as our test runner to both speed up tests and to easily segment tests into different categories. (At time of writing, Nextest is about 33% faster than cargo test.)
While it is not required to use Nextest locally, we recommend it for better output, faster test runs, and the ability to selectively run tests.
cargo nextestcargo install nextest to install from source, or grab a prebuilt binary.cargo nextest run to run most tests.cargo nextest run --profile k8s_integration to run tests that require the Tilt stack.cargo testStart the Tilt stack and run cargo test to run all tests.
cargo build
Use rust 1.92.0 or greater.