Bug reports
Open an issue on GitHub and include:- What you ran — the full command and a sample of the input
- What you expected to happen
- What happened instead (paste the full output or error message)
- Your Zig version (
zig version)
Feature requests
Open an issue describing the use case. Concrete examples — actual query strings and log lines — make it much easier to evaluate whether the feature fits Zeal’s scope and how it should behave.Pull requests
Make your change
Implement your fix or feature. Every
.zig source file has test blocks at the bottom — use them as a guide.Add or update tests
Run
zig build test and make sure all tests pass. Add new tests for any new behaviour.Format the code
Run
zig fmt src/ before committing. Formatting is enforced in CI and unformatted code will fail the check.Code style guidelines
- Formatting: Follow
zig fmtoutput exactly — this is enforced by CI. - Doc comments: Use
///on all public declarations. - Function design: Keep functions short and composable.
- Memory: Prefer zero-copy slices over allocations wherever possible.
- Tests: Cover edge cases — empty input, missing fields, and malformed data are all worth testing.
