[package]
edition = "2021"
rust-version = "1.75"
name = "hwp2md"
version = "0.5.0"
authors = ["Mario Cho <hephaex@gmail.com>"]
build = false
exclude = [
".github/",
".history/",
"PLAN.md",
"PROGRESS.md",
"tests/fixtures/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HWP/HWPX ↔ Markdown bidirectional converter"
homepage = "https://github.com/hephaex/hwp2md"
documentation = "https://docs.rs/hwp2md"
readme = "README.md"
keywords = [
"hwp",
"hwpx",
"markdown",
"converter",
"hangul",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "GPL-3.0-only"
repository = "https://github.com/hephaex/hwp2md"
[lib]
name = "hwp2md"
path = "src/lib.rs"
[[bin]]
name = "hwp2md"
path = "src/main.rs"
[[example]]
name = "convert"
path = "examples/convert.rs"
[[test]]
name = "cli_batch"
path = "tests/cli_batch.rs"
[[test]]
name = "cli_general"
path = "tests/cli_general.rs"
[[test]]
name = "cli_style"
path = "tests/cli_style.rs"
[[test]]
name = "cli_to_hwpx"
path = "tests/cli_to_hwpx.rs"
[[test]]
name = "cli_to_md"
path = "tests/cli_to_md.rs"
[[test]]
name = "hwpx_roundtrip"
path = "tests/hwpx_roundtrip.rs"
[[test]]
name = "hwpx_roundtrip_full"
path = "tests/hwpx_roundtrip_full.rs"
[[test]]
name = "hwpx_roundtrip_full2"
path = "tests/hwpx_roundtrip_full2.rs"
[[test]]
name = "hwpx_validation"
path = "tests/hwpx_validation.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "roundtrip_stability"
path = "tests/roundtrip_stability.rs"
[[bench]]
name = "conversion"
path = "benches/conversion.rs"
harness = false
[dependencies.aes]
version = "0.8"
[dependencies.anyhow]
version = "1"
[dependencies.byteorder]
version = "1.5"
[dependencies.cfb]
version = "0.14"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.comrak]
version = "0.34"
[dependencies.flate2]
version = "1.0"
[dependencies.quick-xml]
version = "0.37"
features = ["serialize"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_yml]
version = "0.0.12"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.zip]
version = "2.0"
features = ["deflate"]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[profile.release]
lto = true
codegen-units = 1
strip = true