Thank you for your interest in contributing to swarf! We welcome contributions from the community.
IMPORTANT: Before we can accept any contributions, you must agree to our Contributor License Agreement (CLA).
By contributing to swarf, you agree that:
- You have read and agree to the CLA
- You assign copyright of your contributions to Future Present Labs LLC
- You grant us a perpetual license to use your contributions
When submitting your first Pull Request, include this statement in the PR description:
I, [Your Full Legal Name], agree to the terms of the Future Present Labs LLC
Contributor License Agreement v1.0 as found in CLA.md.
Alternatively, email a signed CLA to: cla@futurepresentlabs.com
# Clone the repository
git clone https://github.com/FuturePresentLabs/swarf.git
cd swarf
# Build
cargo build
# Run tests
cargo test
# Check formatting
cargo fmt -- --check
# Run clippy
cargo clippy- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Add tests if applicable
- Ensure all tests pass (
cargo test) - Sign the CLA in your PR description
- Submit a Pull Request
- Follow Rust naming conventions
- Run
cargo fmtbefore committing - Keep functions focused and small
- Add documentation comments for public APIs
Open an issue or email: contact@futurepresentlabs.com
Thank you for contributing!