request-rate-limiter 0.2.7

Request rate limiting with adaptive algorithms for controlling request throughput
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"
name = "request-rate-limiter"
version = "0.2.7"
authors = ["ShaJaPas"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Request rate limiting with adaptive algorithms for controlling request throughput
"""
homepage = "https://github.com/shajapas/request-rate-limiter"
documentation = "https://docs.rs/request-rate-limiter"
readme = "README.md"
keywords = [
    "rate-limiting",
    "requests",
    "throttling",
    "limiter",
    "backpressure",
]
categories = [
    "web-programming",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shajapas/request-rate-limiter"

[features]
default = ["key"]
key = ["dashmap"]

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.conv]
version = "0.3.3"

[dependencies.crossbeam-utils]
version = "0.8"

[dependencies.dashmap]
version = "6.1"
optional = true

[dependencies.tokio]
version = "1.48.0"
features = [
    "sync",
    "time",
    "rt",
]

[dev-dependencies.doc-comment]
version = "0.3.4"

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