[package]
edition = "2024"
name = "gukhanmun"
version = "0.2.0"
authors = ["Hong Minhe (洪 民憙) <hong@minhee.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Umbrella library: hanja-to-hangul conversion engine with format adapters and dictionaries."
homepage = "https://github.com/dahlia/gukhanmun"
readme = "README.md"
license = "GPL-3.0-only"
repository = "https://github.com/dahlia/gukhanmun"
[features]
cdb = ["dep:gukhanmun-cdb"]
default = [
"html",
"markdown",
"stdict",
"opendict",
"fst",
"cdb",
]
fst = ["dep:gukhanmun-fst"]
html = ["dep:gukhanmun-html"]
markdown = ["dep:gukhanmun-markdown"]
opendict = [
"dep:gukhanmun-opendict",
"fst",
]
stdict = [
"dep:gukhanmun-stdict",
"fst",
]
[lib]
name = "gukhanmun"
path = "src/lib.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
harness = false
[[test]]
name = "html"
path = "tests/html.rs"
[[test]]
name = "markdown"
path = "tests/markdown.rs"
[[test]]
name = "plain_text"
path = "tests/plain_text.rs"
[[test]]
name = "presets"
path = "tests/presets.rs"
[[test]]
name = "redundant_parens"
path = "tests/redundant_parens.rs"
[[test]]
name = "user_dictionary"
path = "tests/user_dictionary.rs"
[dependencies.gukhanmun-cdb]
version = "0.2.0"
optional = true
[dependencies.gukhanmun-core]
version = "0.2.0"
[dependencies.gukhanmun-fst]
version = "0.2.0"
optional = true
[dependencies.gukhanmun-html]
version = "0.2.0"
optional = true
[dependencies.gukhanmun-markdown]
version = "0.2.0"
optional = true
[dependencies.gukhanmun-opendict]
version = "0.2.0"
optional = true
[dependencies.gukhanmun-stdict]
version = "0.2.0"
optional = true
[dependencies.thiserror]
version = "2.0.18"
default-features = false
[dev-dependencies.libtest-mimic]
version = "0.8.2"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.toml]
version = "0.9.12"