Cargo Features

html2text has no features set by default.

[dependencies]
html2text = { version = "0.12.5", features = ["html_trace", "html_trace_bt", "css", "dashmap"] }
html_trace html_trace_bt?

Enables log

html_trace_bt = html_trace

Enables backtrace

css

Enables lightningcss

Affects html2text::css

Features from optional dependencies

dashmap implicit feature

Enables dashmap ~5.4

Keep dashmap back; 5.5 has a higher MSRV.