rater 0.1.2

High-performance, lock-free, thread-safe rate limiter using token bucket algorithm with per-IP rate limiting support
Documentation
# 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 = "2021"
rust-version = "1.70.0"
name = "rater"
version = "0.1.2"
authors = ["Khaled <khaledsmq@gmail.com>"]
build = false
exclude = [
    ".github/*",
    ".gitignore",
    "tests/*",
    "benches/*",
    "examples/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance, lock-free, thread-safe rate limiter using token bucket algorithm with per-IP rate limiting support"
homepage = "https://github.com/khaledsmq/rater"
documentation = "https://docs.rs/rater"
readme = "README.md"
keywords = [
    "rate-limiter",
    "rate-limiting",
    "throttle",
    "token-bucket",
    "concurrent",
]
categories = [
    "network-programming",
    "web-programming",
    "concurrency",
    "algorithms",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/khaledsmq/rater"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
default = []
full = ["serde"]
serde = [
    "dep:serde",
    "dep:serde_json",
]

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

[dependencies.ahash]
version = "0.8"

[dependencies.dashmap]
version = "6"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.7"

[profile.bench]
inherits = "release"
strip = false

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
overflow-checks = false
strip = "symbols"