Thank you for your interest in contributing to SARE! We welcome contributions of all kinds: bug reports, feature requests, documentation improvements, and code contributions. To keep the project organized and maintain high quality, please follow these guidelines.
-
Use the Issues tab on GitHub to report bugs or unexpected behavior.
-
Provide detailed steps to reproduce the issue, including OS, Rust version, and SARE version.
-
Include logs or error messages where applicable.
-
Use Issues to propose new features.
-
Clearly describe the problem you want to solve and your proposed solution.
-
Label your issue as
enhancementif applicable.
-
Fork the repository and create your feature branch:
git checkout -b feature/my-feature
-
Make your changes on the branch.
-
Ensure your code builds and passes existing tests.
-
Keep your branch focused on a single feature or fix.
-
When ready, submit a Pull Request (PR) against
main. -
In the PR description, explain the motivation and provide examples if relevant.
-
Reviewers may request changes — this is normal and part of maintaining quality.
To keep the codebase consistent, please follow these guidelines:
- Use
cargo fmtbefore submitting a PR. - Follow Rust 2021 idioms and avoid unnecessary unsafe code.
- Keep functions small, readable, and well-documented.
- Match the existing style of the codebase — when in doubt, copy the conventions you see in existing files.
- Write clear commit messages that describe what and why, not just how.
-
All new features must include unit tests where possible.
-
Run tests before submitting a PR:
cargo test -
Ensure that existing tests pass with your changes.
-
Keep documentation up to date.
-
Include examples in doc comments where relevant.
-
Update README or mdBook documentation if your change affects usage.
-
Document/User Guide repository is at https://github.com/SareProject/docs
-
Do not include sensitive information (keys, passwords, secrets) in commits or PRs.
-
If you discover a security issue, report it privately by emailing the maintainers before making it public.
We appreciate your contributions and support. Your help keeps SARE secure and reliable for everyone!