Cargo Features

[dependencies]
fast_html2md = { version = "0.0.41", default-features = false, features = ["rewriter", "scraper", "tokio"] }
default = rewriter

The rewriter feature is set by default whenever fast_html2md is added without default-features = false somewhere in the dependency tree.

rewriter default

Enables lol_html

Affects fast_html2md::rewriter, fast_html2md::rewrite_html, fast_html2md::rewrite_html_streaming, fast_html2md::rewrite_html_custom_with_url, fast_html2md::rewrite_html_custom_with_url_and_chunk, fast_html2md::rewrite_html_custom_with_url_streaming

scraper

Enables html5ever ^0.27 and markup5ever_rcdom

Affects fast_html2md::scraper

tokio

Enables tokio and tokio-stream

Affects writer::convert_html_to_markdown_send_with_size, writer::convert_html_to_markdown_send, fast_html2md::rewrite_html_streaming, fast_html2md::rewrite_html_custom_with_url, fast_html2md::rewrite_html_custom_with_url_and_chunk, fast_html2md::rewrite_html_custom_with_url_streaming