Cargo Features
[dependencies]
nmstatectl = { version = "2.2.27", default-features = false, features = ["query_apply", "gen_conf", "gen_revert"] }
- default = gen_conf, gen_revert, query_apply
-
These default features are set whenever
nmstatectl
is added without
somewhere in the dependency tree.default-features = false - query_apply default = ctrlc, nispor
-
Enables query_apply of nmstate
- gen_conf default
- gen_revert default
-
Enables gen_revert of nmstate
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.