Cargo Features

[dependencies]
markov = { version = "1.1.0", default-features = false, features = ["graph", "markgen", "yaml"] }
default = graph, markgen, yaml

These default features are set whenever markov is added without default-features = false somewhere in the dependency tree.

graph default = itertools, petgraph
markgen default = getopts
yaml default = serde_yaml

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.

getopts markgen
itertools graph

Enables itertools ^0.9

petgraph graph

Enables petgraph ^0.5

serde_yaml yaml

Enables serde_yaml ^0.8