Cargo Features
[dependencies]
pulldown-cmark = { version = "0.12.2", default-features = false, features = ["gen-tests", "simd", "html", "getopts", "serde"] }
- default = getopts, html
-
These default features are set whenever
pulldown-cmark
is added without
somewhere in the dependency tree.default-features = false - gen-tests
-
Affects
build::Spec
,build::TestCase
… - simd
-
Enables simd of optional pulldown-cmark-escape
- html default = pulldown-cmark-escape
-
Affects
pulldown-cmark::html
…
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 default
-
Required by the binary
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- pulldown-cmark-escape html