chronon-backend-sql-common 0.1.3

Shared SQL SchedulerStore for SQLite and PostgreSQL
Documentation

chronon-backend-sql-common

Shared SQL SchedulerStore for PostgreSQL and SQLite.

Adapter authors extending SQL persistence should use this crate. 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
[validate_postgres_schema_name] Allowlist for isolated schema DDL / search_path / drop
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 public crate features (sqlite, postgres).

Schema

Tables and indexes bootstrap on connect via ensure_schema. No manual migration step in v0.1.1.

Documentation

cargo doc -p chronon-backend-sql-common --no-deps --open