Thank you for your interest in contributing to chromaport! This document provides guidelines for contributing.
Please use the bug report template to report bugs. Include your chromaport version (chromaport --version), OS, and steps to reproduce.
Use the feature request template to suggest new features or improvements.
- Rust stable toolchain (see
rust-toolchain.toml)
git clone https://github.com/hamsurang/chromaport.git
cd chromaport
cargo test
cargo fmt --check
cargo clippy --all-targetsCargo aliases are available in .cargo/config.toml:
cargo ck— check all targetscargo fmt-check— format checkcargo lint— clippy with strict warnings
- Formatting: enforced by
rustfmt.toml(runcargo fmt) - Linting: enforced by
clippy.toml(runcargo clippy --all-targets) - File naming:
snake_casefor.rsfiles (enforced byls-lint) - Typos: checked by
typos(config in_typos.toml)
- Fork the repository and create a feature branch from
main. - Follow the conventional commit format for PR titles:
feat:for new featuresfix:for bug fixeschore:for maintenance tasksdocs:for documentation changes
- If your PR includes a new feature (
feat:) or bug fix (fix:), bump the version inCargo.toml:feat→ minor version bump (e.g., 0.2.0 → 0.3.0)fix→ patch version bump (e.g., 0.3.0 → 0.3.1)
- Update
CHANGELOG.mdfor user-facing changes. - Ensure all CI checks pass (fmt, clippy, test, typos, ls-lint).
- Submit your PR — it will be reviewed as soon as possible.
By contributing, you agree that your contributions will be licensed under the MIT License.