Contributions are welcome. If you see a bug, feel free to submit a PR with a fix or an issue to discuss. For any features, please open an issue to discuss first.
(if you use mise, these can be installed with mise install)
- cargo-nextest
- cargo-watch
- Run cargo build in the project directory.
- Install Postgres (all Pg versions supported).
- Add user
pgdogwith passwordpgdog. - Run the setup script
bash integration/setup.sh. It configures required PostgreSQL settings and creates the test databases. If any settings were changed, the script will exit with a notice — restart PostgreSQL and re-run the script before continuing. - Run the tests
cargo nextest run --profile dev. If a test fails, try running it directly. - Run the integration tests
bash integration/run.shor exact integration test withbash integration/go/run.sh.
- Please format your code with
cargo fmt. - If you're feeling generous,
cargo clippyas well. - Please write and include tests. This is production software used in one of the most important areas of the stack.