Cargo Features
[dependencies]
contained = { version = "0.1.4", default-features = false, features = ["full", "core", "music", "net", "turing"] }
- default = core, music, net, turing
-
These default features are set whenever
contained
is added without
somewhere in the dependency tree.default-features = false - full = core, music, net, turing
- core default full? = contained-core
- music default full? = contained-music
- net default full? = contained-net
- turing default full? = contained-turing
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.