Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 917 Bytes

CONTRIBUTING.md

File metadata and controls

37 lines (23 loc) · 917 Bytes

Contributing to bambulab

We love your input!

Your contribution is not just code.

Testing

As part of our GitHub Actions continuous integration, unit tests are written using the built-in Rust testing library and in the same file as the implementation.

So it is suggested that you run locally:

cargo test --all-features --workspace

Formatting

As part of our GitHub Actions continuous integration, unformatted code will be interrupted.

So it is suggested that you run locally rustfmt:

rustup component add rustfmt
cargo fmt --all --check

Linting

As part of our GitHub Actions continuous integration, linting errors will be interrupted.

So it is suggested that you run locally Clippy:

rustup component add clippy
cargo clippy --all-targets --all-features --workspace -- -D warnings