Cargo Features
[dependencies]
markov-generator = { version = "0.2.0", default-features = false, features = ["std", "doc_cfg", "serde"] }
- default = serde, std
-
These default features are set whenever
markov-generator
is added without
somewhere in the dependency tree.default-features = false - std default
-
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.Affects
markov-generator::HashChain
,map::Hash
… - 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