chronon-backend-sql-common
Shared SQL SchedulerStore for PostgreSQL and SQLite.
Audience
Adapter authors extending SQL persistence. Application integrators should use the thin wrappers:
Stack position
chronon-backend-{postgres,sqlite} → chronon-backend-sql-common → chronon-core
Entry points
| Symbol | Purpose |
|---|---|
SqlSchedulerStore |
Connect, schema bootstrap, full port implementation |
SqlDialect / SqlPool |
Engine selection |
bind_sql |
Rewrite ? placeholders to $1, … for Postgres |
delegate_scheduler_store! |
Macro for thin wrapper crates |
When to depend directly
- Building a new SQL dialect wrapper (mirror postgres/sqlite crates)
- Contributing to the shared schema or query modules
Do not depend on this crate from application binaries — use the facade features (sqlite, postgres).
Schema
Tables and indexes bootstrap on connect via ensure_schema. No manual migration step in v0.1.0.
Documentation