Thank you for your interest in contributing to graphile_worker_rs!
- Fork the repository
- Clone your fork locally
- Set up your development environment (see below)
- Create a feature branch from
main
- Rust (stable toolchain)
- Docker (for running PostgreSQL in tests)
diff-cover(optional, for coverage diff reports):pip install diff-cover
just test-dockerThis will spin up a PostgreSQL container and run all tests.
Before submitting a PR, ensure your code passes all checks:
just lintThis runs cargo fmt, cargo check, and cargo clippy.
- Ensure all tests pass with
just test-docker - Ensure linting passes with
just lint - Update documentation if needed
- Keep commits focused and atomic
- Write clear commit messages
- Follow standard Rust conventions
- Use
cargo fmtfor formatting - Prefer early returns (guard clauses) over nested conditionals
- Use
thiserrorfor error types - Use builder pattern for configuration structs
- Use GitHub Issues for bug reports and feature requests
- For security vulnerabilities, see SECURITY.md
This project follows the Contributor Covenant. See CODE_OF_CONDUCT.md.