How to Contribute
How to Contribute
π Setting Up the Project
Install Rust Ensure you have Rust installed. We recommend using rustup:
rustup updateInstall Pre-commit Hooks This project uses
pre-committo enforce code quality checks automatically. Install and activate the hooks:pipx install pre-commit pre-commit installInstall Spellcheck This project uses
spellcheck. Install the tool:cargo install cargo-spellcheckBuild and Test Run the following commands to verify everything is working:
cargo build cargo testBuild and Test The project documentation is generated using Hugo. Install the following requirements:
π Making Contributions
Follow Rustβs coding conventions and ensure your code is formatted with
cargo fmt:cargo fmt --allRun
clippyfor linting:cargo clippy --all-targets --all-featuresEnsure all tests pass:
cargo testRun pre-commit checks before committing:
pre-commit run --all-files
β¨ Commit Messages (Gitmoji Style)
We follow Gitmoji for structured commit messages. Each commit should start with an emoji that represents the change type. Example:
git commit -m "β¨ Add new feature"π Submitting a Pull Request
Push your branch to your fork:
git push origin feature-or-bugfix-nameOpen a Pull Request (PR) on GitHub:
- Provide a clear title and description.
- Link any relevant issue (if applicable).
- Request a review from maintainers.