# lease-queue
Embedded persistent priority queue with native lease (visibility-timeout)
semantics. Single-binary, no server, crash-safe by construction.
## Status
Under active development. Version `0.0.0` is a **name-reservation placeholder**
and intentionally contains no functional code. Do not depend on it.
The first usable release will be `0.1.0`.
## What it is
A small embedded library that gives you SQS-style queue semantics in your own
binary, without a server:
- Push items with a delivery deadline.
- Lease an item for a bounded duration; if you don't `ack` in time, another
consumer can pick it up.
- Crash-safe by construction. Property-tested under fault injection.
## Pitch
If today you're hand-rolling a `jobs` table and lease-tracking columns on top
of SQLite, this is a focused replacement that has already been written and
tested for the cases your code probably hasn't hit yet.
## Minimum Supported Rust Version
Rust 1.85 (2024 edition).
## License
Dual-licensed under either of:
- MIT License ([`LICENSE-MIT`](LICENSE-MIT))
- Apache License, Version 2.0 ([`LICENSE-APACHE`](LICENSE-APACHE))
at your option.