Cargo Features
[dependencies]
rood = { version = "0.5.1", default-features = false, features = ["full", "light", "minimal", "cli", "errors", "sys", "serialization"] }
- default = minimal
-
The
minimal
feature is set by default wheneverrood
is added without
somewhere in the dependency tree.default-features = false - full = light
- light full? = minimal, serialization
- minimal default light? = cli, errors, sys
- cli minimal = atty, colored, rpassword
-
Affects
rood::cli
… - errors minimal
- sys minimal
-
Affects
rood::sys
… - serialization light? = serde
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.
- atty cli?
- colored cli?
- rpassword cli?
-
Enables rpassword ^6.0
- serde serialization?