Cargo Features

[dependencies]
netem-trace = { version = "0.3.6", default-features = false, features = ["full", "model", "bw-model", "delay-model", "loss-model", "duplicate-model", "serde", "mahimahi", "human", "truncated-normal"] }
default = model

The model feature is set by default whenever netem-trace is added without default-features = false somewhere in the dependency tree.

full = human, mahimahi, model, truncated-normal
model default full? = bw-model, delay-model, duplicate-model, loss-model
bw-model model

Enables dyn-clone, once_cell, rand, and rand_distr

Affects model::bw

delay-model model

Enables dyn-clone

Affects model::delay

loss-model model

Enables dyn-clone

Affects model::loss

duplicate-model model

Enables dyn-clone

Affects model::duplicate

serde human?

Enables serde and typetag, serde of bandwidth

mahimahi full?

Enables itertools ^0.13.0

Affects netem-trace::mahimahi

human full? = serde

Enables humantime-serde, serde of human-bandwidth

truncated-normal full? = statrs

Affects model::solve_truncate

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

statrs truncated-normal?

Enables statrs ^0.17.1