[package]
edition = "2021"
name = "fast_html2md"
version = "0.0.58"
authors = ["j-mendez <jeff@spider.cloud>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast html2md crate for rust"
documentation = "https://docs.rs/fast_html2md"
readme = "README.md"
keywords = [
"html",
"markdown",
"converter",
]
categories = [
"development-tools",
"parsing",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/spider-rs/html2md"
[badges.maintenance]
status = "as-is"
[features]
default = [
"rewriter",
"stream",
"ignore_cookies",
]
ignore_cookies = []
rewriter = ["dep:lol_html"]
scraper = [
"dep:html5ever",
"dep:markup5ever_rcdom",
]
stream = ["dep:futures-util"]
[lib]
name = "html2md"
path = "src/lib.rs"
[[test]]
name = "iframes"
path = "tests/iframes.rs"
[[test]]
name = "images"
path = "tests/images.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "lists"
path = "tests/lists.rs"
[[test]]
name = "quotes"
path = "tests/quotes.rs"
[[test]]
name = "styles"
path = "tests/styles.rs"
[[test]]
name = "tables"
path = "tests/tables.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[dependencies.auto_encoder]
version = "0"
[dependencies.futures-util]
version = "0.3"
optional = true
default-features = false
[dependencies.html5ever]
version = "0.27"
optional = true
[dependencies.lazy_static]
version = "1"
[dependencies.lol_html]
version = "2"
optional = true
[dependencies.markup5ever_rcdom]
version = "0.3.0"
optional = true
[dependencies.percent-encoding]
version = "2"
[dependencies.regex]
version = "1"
[dependencies.url]
version = "2"
[dev-dependencies.indoc]
version = "1.0.3"
[dev-dependencies.pretty_assertions]
version = "0.7.2"
[dev-dependencies.spectral]
version = "0.6.0"
[dev-dependencies.tokio]
version = "1"
features = ["full"]