mdka 2.0.3

HTML to Markdown converter
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "mdka"
version = "2.0.3"
authors = ["nabbisen <nabbisen@scqr.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML to Markdown converter"
documentation = "https://docs.rs/mdka"
readme = "README.md"
keywords = [
    "html",
    "markdown",
    "converter",
    "parser",
]
categories = [
    "text-processing",
    "parsing",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/nabbisen/mdka-rs"
resolver = "2"

[features]
default = ["parallel"]
jemalloc = [
    "dep:tikv-jemallocator",
    "dep:tikv-jemalloc-ctl",
]
parallel = ["dep:rayon"]

[lib]
name = "mdka"
path = "src/lib.rs"

[[example]]
name = "measure_mem"
path = "examples/measure_mem.rs"

[[example]]
name = "quick_bench"
path = "examples/quick_bench.rs"

[[example]]
name = "quick_compare"
path = "examples/quick_compare.rs"

[[example]]
name = "quick_mem"
path = "examples/quick_mem.rs"

[[test]]
name = "block_elements"
path = "tests/block_elements.rs"

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "compat"
path = "tests/compat.rs"

[[test]]
name = "file_conversion"
path = "tests/file_conversion.rs"

[[test]]
name = "inline_elements"
path = "tests/inline_elements.rs"

[[test]]
name = "robustness"
path = "tests/robustness.rs"

[[bench]]
name = "bench_common"
path = "benches/bench_common.rs"

[[bench]]
name = "convert"
path = "benches/convert.rs"
harness = false

[[bench]]
name = "memory"
path = "benches/memory.rs"
harness = false

[[bench]]
name = "parallel"
path = "benches/parallel.rs"
harness = false

[[bench]]
name = "scaling"
path = "benches/scaling.rs"
harness = false

[dependencies.ego-tree]
version = "0.11"

[dependencies.rayon]
version = "1"
optional = true

[dependencies.scraper]
version = "0.26"

[dependencies.thiserror]
version = "2"

[dependencies.tikv-jemalloc-ctl]
version = "0.6"
optional = true

[dependencies.tikv-jemallocator]
version = "0.6"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.dom_smoothie]
version = "0.17.0"

[dev-dependencies.fast-html2md]
version = "0.0.61"
package = "fast_html2md"

[dev-dependencies.htmd]
version = "0.5.4"

[dev-dependencies.html-to-markdown-rs]
version = "3.1.0"

[dev-dependencies.html2md]
version = "0.2.15"

[dev-dependencies.html2text]
version = "0.16.7"

[dev-dependencies.mdka-v1]
version = "1.6.9"
package = "mdka"

[dev-dependencies.rand]
version = "0.10"

[profile.bench]
opt-level = 3
lto = "thin"

[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"