To format and lint Rust code:
cargo fmt --all
cargo clippy --all-features --tests --benchesThe core format is implemented in Rust under the rust directory. Once you've setup Rust you can build the core format with:
cargo buildThis builds the debug build. For the optimized release build:
cargo build -rTo run the Rust unit tests:
cargo testIf you're working on a performance related feature, benchmarks can be run via:
cargo benchIf you want detailed logging and full backtraces, set the following environment variables. More details can be found here.
LANCE_LOG=info RUST_BACKTRACE=FULL <cargo-commands>