Thank you for considering contributing to Bend!
- Check for existing issues: Before you create a new issue, please do a search in our issues to see if the issue or feature request has already been filed.
- Create a new issue: If you find no issue or your issue differs, create a new issue and provide detailed information, including steps to reproduce the problem.
- Check for existing suggestions: Before suggesting a new feature, please check if it's already been suggested in our issues.
- Create a new suggestion: If you find no similar suggestion, create a new suggestion issue and provide detailed information about the enhancement and why it would be useful.
Since Bend depends on HVM, some issues might be related to HVM rather than Bend itself. Please also check the HVM issues page to see if your issue has already been reported there.
- Fork the repository: Create your own fork of the repository on GitHub.
- Create a new branch: Make your changes in a new branch in your forked repository.
- Run formatting and linting checks: Before submitting your changes, ensure your code is properly formatted and linted:
- Run
cargo fmt
to format your code. - Run
cargo clippy
to lint your code.
- Run
- Run tests: Ensure all tests pass and update any test results:
- Run
cargo insta test
to run the tests.If insta is not available as a cargo command, install it using
cargo install cargo-insta
. - Run
cargo insta review
to save any changes to the test results.
- Run
- Submit a pull request: Once your changes are ready, submit a pull request from your branch to the
main
branch of the Bend Repository
We appreciate every contribution!