# 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 = "netem-trace" version = "0.3.4" description = "A library for for generating network emulation trace." homepage = "https://github.com/stack-rs/netem-trace" documentation = "https://docs.rs/netem-trace" readme = "README.md" keywords = [ "emulation", "trace", "network", "utility", "model", ] categories = [ "network-programming", "config", "development-tools", "simulation", ] license = "Apache-2.0" repository = "https://github.com/stack-rs/netem-trace" [package.metadata.docs.rs] all-features = true [dependencies.bandwidth] version = "0.3.0" [dependencies.dyn-clone] version = "1.0.10" optional = true [dependencies.human-bandwidth] version = "0.1.1" optional = true [dependencies.humantime-serde] version = "1.1.1" optional = true [dependencies.itertools] version = "0.13.0" optional = true [dependencies.once_cell] version = "1.17.0" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.rand_distr] version = "0.4.3" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.typetag] version = "0.2.5" optional = true [dev-dependencies.serde_json] version = "1.0" [features] bw-model = [ "dep:rand", "dep:rand_distr", "dep:once_cell", "dep:dyn-clone", ] default = ["model"] delay-model = ["dep:dyn-clone"] duplicate-model = ["dep:dyn-clone"] full = [ "model", "mahimahi", "human", ] human = [ "serde", "dep:humantime-serde", "dep:human-bandwidth", "human-bandwidth/serde", ] loss-model = ["dep:dyn-clone"] mahimahi = ["dep:itertools"] model = [ "bw-model", "delay-model", "loss-model", "duplicate-model", ] serde = [ "dep:serde", "dep:typetag", "bandwidth/serde", ]