We welcome contributions to ReasonKit! This guide will help you get started.
-
Prerequisites:
- Rust 1.75+
cargouv(for Python bindings)
-
Clone & Build:
git clone https://github.com/ReasonKit/reasonkit-core.git cd reasonkit-core cargo build
- Fork the repository.
- Create a branch for your feature/fix (
git checkout -b feature/my-feature). - Code your changes.
- Follow Rust idioms.
- Add tests for new functionality.
- Test locally:
cargo test cargo clippy -- -D warnings cargo fmt --check - Submit a Pull Request.
- Use
cargo fmt. - Document public APIs with Rustdoc (
///). - Keep functions small and focused.
- Use
Resultfor error handling (nounwrapin production code).
Please adhere to the Contributor Covenant.