# 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 = "upstash-ratelimit-rs" version = "1.0.2" authors = ["Sourab Pramanik "] description = "An unofficial Upstash rate limiting SDK in Rust" homepage = "https://github.com/sourabpramanik/upstash-ratelimit-rs" readme = "README.md" keywords = [ "redis", "ratelimit", "sdk", "upstash", "kv", ] license = "MIT" repository = "https://github.com/sourabpramanik/upstash-ratelimit-rs" [lib] doctest = false [[example]] name = "with-actix" path = "examples/actix.rs" [[example]] name = "with-axum" path = "examples/axum.rs" [[example]] name = "with-rocket" path = "examples/rocket.rs" [dependencies.assert-panic] version = "1.0.1" [dependencies.chrono] version = "0.4" [dependencies.dotenv] version = "0.15" [dependencies.futures] version = "0.3" [dependencies.nanoid] version = "0.4.0" [dependencies.redis] version = "0.24.0" features = ["tokio-comp"] [dependencies.regex] version = "1.10.3" [dependencies.tokio] version = "1.36.0" features = ["full"] [dev-dependencies.actix-web] version = "4" [dev-dependencies.axum] version = "0.7.4" [dev-dependencies.dotenv] version = "0.15" [dev-dependencies.redis] version = "0.24.0" features = ["tokio-comp"] [dev-dependencies.rocket] version = "0.5.0" [dev-dependencies.tokio] version = "1.0" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.18"