honker-rs
Rust binding for Honker: durable queues, streams, pub/sub, and time-trigger scheduling on SQLite.
Full docs:
Install
Add the crate, and make sure the Honker SQLite extension is available at runtime.
Quick start
let db = open?;
let q = db.queue;
q.enqueue?;
if let Some = q.claim_one?
Delayed jobs use run_at / RunAt-style options in the binding API.
Recurring schedules use schedule expressions:
let sched = db.scheduler;
sched.add?;
Supported schedule forms:
0 3 * * **/2 * * * * *@every 1s
For full API details, async wake behavior, streams, and SQL functions, see the main repo and docs site.
Experimental watcher backends
Polling is the default. Source builds can opt into the experimental core backends with Cargo features:
let opts = default.watcher_backend?;
let db = open_with_options?;
kernel requires the kernel-watcher feature. shm requires
shm-fast-path and WAL mode. Explicit requests fail loudly when the
feature is not compiled or the backend cannot probe the database path.