Thank you for considering contributing to our Rust project! We're excited to have you on board.
We follow the standard open-source code of conduct. Please be respectful and considerate in your interactions with the community.
Before you start contributing, please make sure you have the following:
- Rust and Cargo installed. You can install them from rustup.rs.
- A code editor or IDE of your choice, such as Visual Studio Code with the Rust extension.
We follow standard Rust coding practices. Please make sure to:
- Use
rustfmt
to format your code. You can run it withcargo fmt
. - Use
clippy
to lint your code. You can run it withcargo clippy
. - Use clear and descriptive variable names.
- Use functions and modules to organize your code.
- Keep your code concise and readable.
- Use Rustdoc comments to document your code.
We use Rust's built-in testing framework. Please make sure to write tests for any new features or bug fixes you contribute. You can run the tests with cargo test
.
To contribute to the codebase, please follow these steps:
- Fork the repository and create a new branch for your feature or bug fix.
- Run
cargo build
to build the project and ensure there are no compilation errors. - Run
cargo fmt
andcargo clippy
to format and lint your code. - Run
cargo test
to ensure all tests pass. - Use Conventional Commits to format your commit messages.
- Commit your changes and push your branch to your fork.
- Open a pull request with a clear description of your changes.
Thank you for your contributions!
Once you've opened a pull request, it will be reviewed by the maintainers. We'll provide feedback and guidance to help you improve your contribution.
Thank you again for contributing to the Liatrio Dora API!