Thank you for your interest in contributing to rLightning! This guide will help you get started.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/rLightning.git - Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Run tests:
cargo test - Push and open a Pull Request
# Build
cargo build
# Run all tests
cargo test
# Run clippy linter
cargo clippy -- -D warnings
# Check formatting
cargo fmt -- --check
# Run benchmarks
cargo bench- Follow standard Rust conventions and idioms
- Run
cargo fmtbefore committing - Ensure
cargo clippy -- -D warningspasses with no warnings - Write tests for new functionality
- Keep PRs focused on a single change
- Include tests for new features or bug fixes
- Update documentation if your change affects public APIs or behavior
- Ensure all CI checks pass
Open an issue with:
- A clear description of the bug
- Steps to reproduce
- Expected vs actual behavior
- rLightning version and OS
Open an issue describing:
- The use case and motivation
- How the feature should work
- Any Redis compatibility considerations
By contributing, you agree that your contributions will be licensed under the MIT License.