Cargo Features
[dependencies]
overworld_affinity = { version = "0.1.0", default-features = false, features = ["common", "common_rps", "common_elements", "common_three_elements", "color_hints", "rand", "serde"] }
- default = serde
-
The
serde
feature is set by default wheneveroverworld_affinity
is added without
somewhere in the dependency tree.default-features = false - common = common_elements, common_rps, common_three_elements
- common_rps common?
-
Affects
common::rps
… - common_elements common?
-
Affects
common::elements
… - common_three_elements common?
-
Affects
common::three_elements
… - color_hints
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.