[dependencies.rustversion]
version = "1.0.18"
[dev-dependencies.rand]
version = "0.8.5"
[[example]]
name = "fixed_window"
path = "examples/fixed_window.rs"
[[example]]
name = "sliding_window_counter"
path = "examples/sliding_window_counter.rs"
[[example]]
name = "sliding_window_log"
path = "examples/sliding_window_log.rs"
[[example]]
name = "token_bucket"
path = "examples/token_bucket.rs"
[features]
default = ["std"]
std = []
[lib]
name = "burster"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std", "no-std::no-alloc", "algorithms"]
description = "Lightweight stack allocated rate limiter implementations"
documentation = "https://docs.rs/burster"
edition = "2021"
keywords = ["token_bucket", "rate_limiting", "networking", "no_std"]
license = "MIT"
name = "burster"
readme = "README.md"
repository = "https://github.com/jmlepisto/burster"
version = "0.1.2"