Cargo Features
[dependencies]
dice-roll = { version = "0.1.1", default-features = false, features = ["parser", "roll", "logging", "serde"] }
- default = parser, roll
-
These default features are set whenever
dice-roll
is added without
somewhere in the dependency tree.default-features = false - parser default = nom
-
Affects
dice-roll::parser
… - roll default = rand
-
Affects
dice-roll::dice_roll
… - logging = log
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.