Crates.io | tlq |
lib.rs | tlq |
version | 0.2.2 |
created_at | 2025-02-16 10:52:53.972014+00 |
updated_at | 2025-09-04 20:18:22.786636+00 |
description | Tiny Little Queue |
homepage | |
repository | |
max_upload_size | |
id | 1557565 |
size | 76,779 |
A minimal message queue that just works.
# Using Cargo
cargo install tlq
# Using Docker
docker run -p 1337:1337 nebojsa/tlq
# Add a message
curl -X POST localhost:1337/add \
-H "Content-Type: application/json" \
-d '{"body":"Hello TLQ!"}'
# Get a message (auto-locks it)
curl -X POST localhost:1337/get \
-H "Content-Type: application/json" \
-d '{"count":1}'
# Delete after success
curl -X POST localhost:1337/delete \
-H "Content-Type: application/json" \
-d '{"ids":["<message-id>"]}'
# Or retry after failure
curl -X POST localhost:1337/retry \
-H "Content-Type: application/json" \
-d '{"ids":["<message-id>"]}'
Perfect for:
MIT
Nebojsa Jakovljevic