This document outlines the process for compiling this crate's source code on your local machine.
Ensure you have the following installed:
- The latest stable version of Rust
cargo-nextest
for running testsClippy
for linting
We follow the default Rust formatting style enforced by rustfmt
. To format your code, run:
cargo fmt
Additionally, we use Clippy for linting Rust code. You can check for linting issues by running:
cargo clippy
Please ensure your code is formatted and free of Clippy warnings before submitting any changes.
We use cargo-nextest
to run our test suite.
To test the latest version of the schema, use:
cargo nextest run
Alternatively, you can use the alias command:
cargo run_test
To test against all schema versions, execute the shell script:
./scripts/run_test.sh
This ensures all tests pass across different schema versions.