Cargo Features
[dependencies]
docstrings = { version = "0.1.1", default-features = false, features = ["pulldown-cmark"] }
- default = pulldown-cmark
-
The
pulldown-cmark
feature is set by default wheneverdocstrings
is added without
somewhere in the dependency tree.default-features = false
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.
- pulldown-cmark default
-
Enables pulldown-cmark ^0.0.14
Optional because rustc ships it and one might want to use that one.