Cargo Features
[dependencies]
somedoc = { version = "0.2.10", default-features = false, features = ["fmt_html", "fmt_json", "fmt_latex", "fmt_markdown", "math_builder", "emoji_names"] }
- default = fmt_html, fmt_json, fmt_latex, fmt_markdown
-
These default features are set whenever
somedoc
is added without
somewhere in the dependency tree.default-features = false - fmt_html default
-
Affects
write::html
… - fmt_json default = serde, serde_json
-
Affects
somedoc::read
,write::json
… - fmt_latex default
-
Affects
write::latex
… - fmt_markdown default
-
Affects
write::markdown
… - math_builder
- emoji_names
-
Affects
inline::emoji_names
…
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.