# 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 = "chokepoint" version = "0.4.2" authors = [ "Robert Krahn ", "Matthew Kim ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Generic stream transformer to simulate traffic / network congestion" homepage = "https://github.com/hypervideo/chokepoint" readme = "README.md" keywords = [ "network", "congestion", "traffic", "simulation", ] categories = [ "simulation", "network-programming", "asynchronous", ] license = "MPL-2.0" repository = "https://github.com/hypervideo/chokepoint" [lib] name = "chokepoint" path = "src/lib.rs" [[example]] name = "sink" path = "examples/sink.rs" [[example]] name = "stream" path = "examples/stream.rs" [[test]] name = "sink" path = "tests/sink.rs" [[test]] name = "stream" path = "tests/stream.rs" [dependencies.bytes] version = "1.8.0" [dependencies.futures] version = "0.3.31" [dependencies.pin-project] version = "1.1.7" [dependencies.rand] version = "0.8.5" [dependencies.rand_distr] version = "0.4.3" [dependencies.tokio-stream] version = "0.1.16" features = ["sync"] [dependencies.tracing] version = "0.1.40" [dev-dependencies.chrono] version = "0.4.38" [dev-dependencies.tokio] version = "1.41.1" features = [ "time", "sync", "rt-multi-thread", "macros", ] default-features = false [dev-dependencies.tokio-test] version = "0.4.4" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.yare] version = "3.0.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.41.1" features = [ "time", "sync", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util] version = "0.7.12" features = ["time"] default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.tokio] version = "1.41.1" features = ["sync"] default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.wasmtimer] version = "0.4.1"