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-nextestfor running testsClippyfor linting
We follow the default Rust formatting style enforced by rustfmt. To format your code, run:
cargo fmtAdditionally, we use Clippy for linting Rust code. You can check for linting issues by running:
cargo clippyPlease 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 runAlternatively, you can use the alias command:
cargo run_testTo test against all schema versions, execute the shell script:
./scripts/run_test.shThis ensures all tests pass across different schema versions.