Thank you for your interest in contributing to TimerLib! We welcome contributions from the community to help improve the library.
If you find a bug or have a feature request:
- Check the existing issues to avoid duplicates.
- Create a new issue with a clear title and description.
- Provide as much detail as possible, including code snippets or error logs if applicable.
- Fork the Repository:
- Fork the TimerLib repository to your GitHub account.
- Clone the Repository:
git clone https://github.com/Tfc538/timer-lib.git cd timer-lib
- Create a Feature Branch:
git checkout -b feature/my-feature
- Make Your Changes:
- Ensure your changes follow the project's coding style.
- Add or update tests as necessary.
- Run Tests:
cargo test
- Commit Your Changes:
git commit -m "Add my new feature"
- Push Your Branch:
git push origin feature/my-feature
- Create a Pull Request:
- Go to the original repository on GitHub and create a pull request from your fork.
- Follow Rust's conventions (e.g.,
cargo fmt
,cargo clippy
). - Write meaningful comments for complex logic.
- Use descriptive variable and function names.
- Add tests for any new functionality.
- Run
cargo test
to ensure all tests pass before submitting changes.
- Be respectful and inclusive.
- Avoid discussions unrelated to the project.
- Provide constructive feedback in code reviews.
Thank you for contributing to TimerLib! Together, we can make it even better. 🚀