Cargo Features
[dependencies]
salak = { version = "0.14.1", default-features = false, features = ["all", "app", "args", "derive", "yaml", "ipnet", "rand", "toml"] }
- default all? = derive, rand, toml
-
These default features are set whenever
salak
is added without
somewhere in the dependency tree.default-features = false - all = app, args, default, log
- app all? = derive
- args all? = clap, derive
- derive default app? args? = pad, salak_derive
-
Affects
salak::Environment.get
… - yaml = yaml-rust
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.