# 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 = "hongdown"
version = "0.2.5"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Markdown formatter that enforces Hong Minhee's Markdown style conventions"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/dahlia/hongdown"

[features]
default = []
wasm = [
    "wasm-bindgen",
    "serde-wasm-bindgen",
    "js-sys",
    "getrandom",
]

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

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

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

[dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dependencies.comrak]
version = "0.49.0"

[dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
optional = true

[dependencies.glob]
version = "0.3.3"

[dependencies.html-escape]
version = "0.2.13"

[dependencies.indexmap]
version = "2.12.1"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1.12.2"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.similar]
version = "2.7.0"

[dependencies.toml]
version = "0.9.10"

[dependencies.unicode-width]
version = "0.2.2"

[dependencies.walkdir]
version = "2.5.0"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dev-dependencies.tempfile]
version = "3.24.0"
