Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.15 KB

development.md

File metadata and controls

55 lines (34 loc) · 1.15 KB

Development

This document outlines the process for compiling this crate's source code on your local machine.

Prerequisites

Ensure you have the following installed:

Code Style

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.

Testing

We use cargo-nextest to run our test suite.

Running Tests

To test the latest version of the schema, use:

cargo nextest run

Alternatively, you can use the alias command:

cargo run_test

Running Tests for All Schema Versions

To test against all schema versions, execute the shell script:

./scripts/run_test.sh

This ensures all tests pass across different schema versions.