Thank you for your interest in contributing! This guide covers everything you need to get started.
- Fork the repository on GitHub
- Clone your fork:
git clone https://github.com/<your-username>/tornade-core.git cd tornade-core
- Build and test to verify your environment:
cargo build cargo test
- Create a branch for your change:
git checkout -b fix/my-improvement
- Make your changes
- Run quality checks before committing:
cargo fmt cargo clippy -- -D warnings cargo test --all-features - Commit and push:
git push origin fix/my-improvement
- Open a pull request on GitHub — CI will run automatically on Linux, macOS, and Windows
- Formatting:
cargo fmt— all code must passcargo fmt -- --check - Linting:
cargo clippy -- -D warnings— no clippy warnings allowed - Tests: all new functionality must include tests; run
cargo test --all-features
Use the imperative mood in the subject line:
Add support for ALAC metadataFix panic when audio queue is emptyRefactor database connection pooling
Keep subject lines under 72 characters. Add a body if the change needs explanation.
Open an issue at github.com/tornade-player/tornade-core/issues with:
- Your operating system and Rust version (
rustc --version) - Steps to reproduce the issue
- Expected vs. actual behavior
By contributing, you agree that your contributions will be licensed under the MIT License.