lease-queue 0.0.0

Embedded persistent priority queue with native lease/visibility-timeout semantics. Single-binary, no server, crash-safe by construction.
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 15.89 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 986.77 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 38s Average build duration of successful builds.
  • all releases: 38s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CanManalp
lease-queue-0.0.0 has been yanked.

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:

at your option.