Cargo Features
[dependencies]
bracket-random = { version = "0.8.7", default-features = false, features = ["parsing", "serde"] }
- default = parsing
-
The
parsing
feature is set by default wheneverbracket-random
is added without
somewhere in the dependency tree.default-features = false - parsing default = lazy_static, regex
-
Affects
parsing::parse_dice_string
… - serde = serde_crate
-
Enables serde1 of rand_xorshift
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.
- regex parsing
- lazy_static parsing
- serde_crate serde?
-
Enables serde