Cargo Features
[dependencies]
comrak = { version = "0.39.0", default-features = false, features = ["cli", "shortcodes", "bon", "syntect", "arbitrary"] }
- default = bon, cli, syntect
-
These default features are set whenever
comrak
is added without
somewhere in the dependency tree.default-features = false - cli default = clap, shell-words, xdg
-
Required by the binary
- shortcodes = emojis
-
Affects
parser::shortcodes
,parser::ExtensionOptions.shortcodes
,scanners::shortcode
… - bon default
-
Enables bon
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.
- shell-words cli
- emojis shortcodes?
- clap wasm32 not wasm32 cli
- syntect wasm32 not wasm32 default
-
Affects
plugins::syntect
…Required by the binary
- xdg not win not wasm32 cli
-
Enables xdg ^2.5
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data