Skip to content

Contributing

TaiDB is intentionally small. Contributions should keep the project easy to build, easy to audit, and easy to embed.

  • Documentation fixes.
  • More examples.
  • CLI help improvements.
  • Reproducible benchmark scripts.
  • Tests for corruption, recovery, import, and compaction behavior.

Run:

Terminal window
make check
make smoke

For native FFI changes:

Terminal window
cargo build --release --features native-ffi
make native-smoke

For packaging changes:

Terminal window
cargo publish --dry-run --allow-dirty

The docs site lives in docs/.

Terminal window
cd docs
npm install
npm run dev

The docs require Node.js >=22.12.0.

Do not commit:

  • .env files
  • encryption keys
  • generated databases
  • benchmark output
  • build artifacts
  • local agent state
  • dependency folders
  • Prefer Rust-first APIs.
  • Keep source-only examples inspectable.
  • Avoid adding platform packaging until the maintenance cost is justified.
  • Back performance claims with reproducible scripts.
  • Keep data safety work ahead of broad marketing claims.