Thank you for your interest in contributing to rustledger!
- Fork the repository
- Clone your fork
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Run tests:
cargo test --all-features - Run lints:
cargo clippy --all-features -- -D warnings - Commit with conventional commits:
git commit -m "feat: add feature" - Push and open a Pull Request
# Clone
git clone https://github.com/rustledger/rustledger
cd rustledger
# Build
cargo build --all-features
# Test
cargo test --all-features
# Lint
cargo clippy --all-features -- -D warnings
cargo fmt --all -- --check- Use
Result<T, E>for fallible operations - Prefer
?operator over.unwrap()in production code - Add tests for new functionality
- Document public APIs with doc comments
- Follow existing code style
We use conventional commits:
feat:- New featuresfix:- Bug fixesdocs:- Documentation changesrefactor:- Code refactoringtest:- Test additions/changeschore:- Maintenance tasks
Open a discussion or reach out to the maintainers.