Cargo Features
[dependencies]
markov-generator = { version = "0.1.5", default-features = false, features = ["std", "hash", "doc_cfg", "serde"] }
- default = hash, serde, std
-
These default features are set whenever
markov-generator
is added without
somewhere in the dependency tree.default-features = false - std default hash
-
Enables std and std_rng of rand and std of optional serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - hash default = std
-
Affects
markov-generator::Item
… - doc_cfg
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.
- serde default