Thank you for your interest in contributing to Litehouse! We welcome contributions from everyone, and we are grateful for every pull request (PR) and issue report. This document provides guidelines for contributing to Litehouse.
We strive to maintain a consistent code style throughout the project. Please ensure your contributions adhere to the following guidelines:
- Use
rustfmt
to format your Rust code. You can runcargo fmt
before submitting your PR. - Follow the Rust API Guidelines for API design.
- Include comments in your code where necessary to explain complex logic.
- Fork the repository and create your branch from
main
. - If you've added code that should be tested, add tests.
- Ensure the test suite passes by running
cargo test
. - Update the documentation if you have made changes to the API or added new features.
- Submit your pull request with a clear description of the changes.
When reporting issues, please provide as much detail as possible about the problem. Include steps to reproduce the issue, the expected outcome, and the actual result. If possible, include a minimal code example that demonstrates the problem.
This project uses cargo-rdme
to keep the README files in sync with the crate-level documentation. To ensure your changes are reflected in the README files, follow these steps:
- Install
cargo-rdme
andcargo-workspaces
usingcargo install cargo-rdme cargo-workspaces
. - Run
cargo workspaces exec -- cargo rdme
to update the README files based on the latest crate-level documentation. - Include the updated README files in your pull request.
Thank you for contributing to Litehouse!