lindera-cli 5.3.0

A morphological analysis CLI.
Documentation
[package]
name = "lindera-cli"
version = { workspace = true }
edition = { workspace = true }
description = "A morphological analysis CLI."
documentation = "https://docs.rs/lindera-cli"
homepage = { workspace = true }
repository = { workspace = true }
readme = "README.md"
keywords = ["morphological", "analysis", "cli"]
categories = { workspace = true }
license = { workspace = true }

[features]
embed-ipadic = ["lindera/embed-ipadic"] # Embed IPADIC dictionary in the binary
embed-ipadic-neologd = [
    "lindera/embed-ipadic-neologd",
] # Embed IPADIC-NEologd dictionary in the binary
embed-unidic = ["lindera/embed-unidic"] # Embed UniDic dictionary in the binary
embed-ko-dic = ["lindera/embed-ko-dic"] # Embed ko-dic dictionary in the binary
embed-cc-cedict = [
    "lindera/embed-cc-cedict",
] # Embed CC-CEDICT dictionary in the binary
embed-jieba = ["lindera/embed-jieba"] # Embed Jieba dictionary in the binary

embed-cjk = [
    "lindera/embed-cjk",
] # Embed CJK dictionaries (IPADIC, ko-dic, Jieba) in the binary
embed-cjk2 = [
    "lindera/embed-cjk2",
] # Embed CJK dictionaries (UniDic, ko-dic, Jieba) in the binary
embed-cjk3 = [
    "lindera/embed-cjk3",
] # Embed CJK dictionaries (IPADIC NEologd, ko-dic, Jieba) in the binary

mmap = ["lindera/mmap"]     # Use memory-mapped file
train = ["lindera/train"]   # Enable training functionality
default = ["mmap", "train"]

[dependencies]
anyhow = { workspace = true }
clap = { version = "4.6.4", features = ["derive", "cargo"] }
dirs = "6.0.0"
# Deflate backend for the zip crate's `deflate-flate2` feature. `rust_backend`
# selects miniz_oxide (MIT OR Zlib OR Apache-2.0), avoiding the Zlib-only
# zlib-rs backend that zip's default `deflate` feature would pull in.
flate2 = { version = "1.1.9", default-features = false, features = [
    "rust_backend",
] }
lindera = { workspace = true }
lindera-analysis = { workspace = true }
num_cpus = { workspace = true }
serde_json = { workspace = true }
# Same configuration as lindera-dictionary's build-time dependency: blocking
# HTTPS GET without an async runtime; `rustls` selects the ring provider,
# keeping aws-lc-sys out of the dependency graph.
ureq = { version = "3.3.0", default-features = false, features = ["rustls"] }
zip = { version = "8.6.0", default-features = false, features = [
    "deflate-flate2",
] }

[dev-dependencies]
assert_cmd = "2.2.2"
tempfile = "3.27.0"

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