[package]
name = "jpreprocess-dictionary"
edition = "2021"

version.workspace = true
description.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true

documentation = "https://docs.rs/jpreprocess-dictionary"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
binary = ["dep:clap"]

[[bin]]
name = "dict_tools"
required-features = ["binary"]

[dependencies]
thiserror.workspace = true
bincode.workspace = true
byteorder.workspace = true
anyhow.workspace = true
once_cell.workspace = true
csv.workspace = true
derive_builder.workspace = true
glob.workspace = true
log.workspace = true
encoding_rs.workspace = true
encoding_rs_io.workspace = true

lindera.workspace = true
lindera-dictionary.workspace = true
daachorse.workspace = true

serde.workspace = true

jpreprocess-core = { workspace = true, features = ["lindera"] }

clap = { workspace = true, features = ["derive"], optional = true }
