# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "actix-rate-limit" version = "0.3.1" authors = ["Arniu Tseng"] description = "Rate-Limit middleware for actix-web" license = "MIT OR Apache-2.0" repository = "https://github.com/arniu/kepton" [dependencies.actix] version = "0.10" optional = true [dependencies.actix-redis] version = "0.9" optional = true default-features = false [dependencies.actix-web] version = "3" [dependencies.futures-util] version = "0.3" [dependencies.log] version = "0.4" [dependencies.serde] version = "1" [dependencies.time] version = "0.2" [features] default = ["redis"] redis = ["actix-redis", "actix"]