# 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 = "limtr" version = "0.2.0" authors = ["FssAy"] description = "Implement rate limits for all sort of applications and scenarios." documentation = "https://docs.rs/limtr/latest/limtr/" readme = "README.md" license = "GPL-3.0-only" repository = "https://github.com/FssAy/limtr" [[bench]] name = "benchmark" harness = false [dependencies.chrono] version = "0.4.26" [dependencies.indexmap] version = "2.0.2" features = ["rayon"] [dependencies.once_cell] version = "1.18.0" [dependencies.tokio] version = "1.29.1" features = [ "sync", "rt-multi-thread", "test-util", "macros", ] optional = true [dev-dependencies.criterion] version = "0.5.1" features = ["async_tokio"] [dev-dependencies.once_cell] version = "1.18.0" [features] async = ["tokio"] default = ["async"]