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 default-features = false somewhere in the dependency tree.

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.

serde fmt_json
serde_json fmt_json