# 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 = "congestion-limiter" version = "0.1.0" authors = ["Thom Wright "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Dynamic congestion-based concurrency limits for controlling backpressure """ homepage = "https://github.com/ThomWright/congestion-limiter" documentation = "https://docs.rs/congestion-limiter" readme = "README.md" keywords = [ "concurrency", "congestion", "limiting", "limiter", "backpressure", ] categories = ["concurrency"] license = "MIT OR Apache-2.0" repository = "https://github.com/ThomWright/congestion-limiter" [lib] name = "congestion_limiter" path = "src/lib.rs" [[test]] name = "iter_ext" path = "tests/iter_ext.rs" [[test]] name = "mod" path = "tests/mod.rs" [dependencies.async-trait] version = "0.1.68" [dependencies.conv] version = "0.3.3" [dependencies.tokio] version = "1.28.1" features = [ "sync", "time", "rt", ] [dev-dependencies.doc-comment] version = "0.3.3" [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.rand] version = "0.8.5" features = ["small_rng"] [dev-dependencies.statrs] version = "0.17.1" [dev-dependencies.tokio] version = "1.28.1" features = [ "rt", "macros", "test-util", ] [dev-dependencies.tokio-test] version = "0.4.3" [dev-dependencies.uuid] version = "1.3.2" [lints.clippy] as_underscore = "warn" cast_lossless = "warn" cast_possible_truncation = "warn" cast_possible_wrap = "warn" cast_sign_loss = "warn"