mdka 1.6.0

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"
rust-version = "1.85.0"
name = "mdka"
version = "1.6.0"
authors = ["nabbisen <nabbisen@scqr.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML to Markdown converter"
readme = "README.md"
keywords = [
    "html",
    "markdown",
    "parser",
    "conversion",
]
categories = [
    "development-tools",
    "parsing",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/nabbisen/mdka-rs"

[features]
default = []
napi = [
    "dep:napi",
    "dep:napi-derive",
    "dep:napi-build",
]
pyo3 = ["dep:pyo3"]

[lib]
name = "mdka"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[bin]]
name = "mdka"
path = "src/main.rs"

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

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

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

[dependencies.html5ever]
version = "^0.27"

[dependencies.markup5ever_rcdom]
version = "^0.3"

[dependencies.napi]
version = "2"
features = [
    "napi5",
    "async",
]
optional = true
default-features = false

[dependencies.napi-derive]
version = "2"
optional = true

[dependencies.pyo3]
version = "0.27"
features = ["extension-module"]
optional = true

[dev-dependencies.criterion]
version = "0"

[dev-dependencies.maturin]
version = "1"

[build-dependencies.napi-build]
version = "2"
optional = true

[profile.dev]
opt-level = 1
lto = false
incremental = true

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true