Cargo Features

[dependencies]
tower-fault-injector = { version = "0.0.4", default-features = false, features = ["full", "error", "latency"] }
default = full

The full feature is set by default whenever tower-fault-injector is added without default-features = false somewhere in the dependency tree.

full default = error, latency
error full = rand, tokio

Affects tower-fault-injector::error

latency full = rand, tokio

Affects tower-fault-injector::latency

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.

rand error? latency?
tokio error? latency?