We really welcome contributions to Canopy! This document provides guidelines for contributing to the project.
This project adheres to a code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to deprecated@virex.lol
- Use the GitHub issue tracker to report bugs.
- Describe the bug and include steps to reproduce it.
- Include your operating system and version of Canopy.
- Use the GitHub issue tracker to suggest features.
- Provide a clear description of the feature and why it would be useful!
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/hnpf/canopy.git - Create a new branch for your changes:
git checkout -b <FEATURENAME> - Make your changes.
- Make sure the code compiles:
cargo build - Run tests:
cargo test - Format the code:
cargo fmt - Check for linting issues:
cargo clippy - Commit your changes:
git commit -am 'Add some feature' - Push to your fork:
git push origin <feature-name> - Create a pull request on GitHub.
- Provide a clear description of what your PR does.
- Reference any related issues.
- Ensure all tests pass.
- Follow the existing code style.
- Install Rust: https://rustup.rs/
- Clone the repository:
git clone https://github.com/hnpf/canopy.git - Build the project:
cargo build - Run tests:
cargo test
- Follow the Rust style guidelines.
- Use
cargo fmtto format code. - Use
cargo clippyto check for common mistakes.
By contributing to Canopy, you agree that your contributions will be licensed under the GPL 3.0 License.