[package]
edition = "2024"
rust-version = "1.85"
name = "ratelimit"
version = "2.0.0"
authors = ["Brian Martin <brian@iop.systems>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lock-free token bucket ratelimiter"
homepage = "https://github.com/iopsystems/ratelimit"
readme = "README.md"
keywords = [
"ratelimit",
"token-bucket",
"rate-limiter",
"throttle",
"concurrency",
]
categories = [
"concurrency",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iopsystems/ratelimit"
[features]
default = ["std"]
std = []
[lib]
name = "ratelimit"
path = "src/lib.rs"
[dependencies.thiserror]
version = "2.0"
default-features = false