# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "quota"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Rate-limiter"
readme = "README.md"
license = "MIT"

[lib]
name = "quota"
path = "src/lib.rs"

[[example]]
name = "request_rate_limiter"
path = "examples/request_rate_limiter.rs"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.parking_lot]
version = "0.12.5"

[dev-dependencies.axum]
version = "0.8.9"

[dev-dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "net",
    "rt-multi-thread",
]
