lindera 2.1.0

A morphological analysis library.
Documentation
# 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 = "lindera"
version = "2.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A morphological analysis library."
homepage = "https://github.com/lindera/lindera"
documentation = "https://docs.rs/lindera"
readme = "README.md"
keywords = [
    "morphological",
    "analysis",
    "library",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/lindera/lindera"
resolver = "2"

[features]
compress = [
    "lindera-dictionary/compress",
    "lindera-ipadic?/compress",
    "lindera-ipadic-neologd?/compress",
    "lindera-unidic?/compress",
    "lindera-ko-dic?/compress",
    "lindera-cc-cedict?/compress",
]
default = [
    "compress",
    "mmap",
]
embed-cc-cedict = ["lindera-cc-cedict/embed-cc-cedict"]
embed-cjk = [
    "embed-ipadic",
    "embed-ko-dic",
    "embed-cc-cedict",
]
embed-cjk2 = [
    "embed-unidic",
    "embed-ko-dic",
    "embed-cc-cedict",
]
embed-cjk3 = [
    "embed-ipadic-neologd",
    "embed-ko-dic",
    "embed-cc-cedict",
]
embed-ipadic = ["lindera-ipadic/embed-ipadic"]
embed-ipadic-neologd = ["lindera-ipadic-neologd/embed-ipadic-neologd"]
embed-ko-dic = ["lindera-ko-dic/embed-ko-dic"]
embed-unidic = ["lindera-unidic/embed-unidic"]
mmap = ["lindera-dictionary/mmap"]
train = ["lindera-dictionary/train"]

[lib]
name = "lindera"
path = "src/lib.rs"

[[example]]
name = "tokenize"
path = "examples/tokenize.rs"

[[example]]
name = "tokenize_with_config"
path = "examples/tokenize_with_config.rs"

[[example]]
name = "tokenize_with_filters"
path = "examples/tokenize_with_filters.rs"

[[example]]
name = "tokenize_with_user_dict"
path = "examples/tokenize_with_user_dict.rs"

[[bench]]
name = "bench_cc_cedict"
path = "benches/bench_cc_cedict.rs"
harness = false
required-features = ["embed-cc-cedict"]

[[bench]]
name = "bench_ipadic"
path = "benches/bench_ipadic.rs"
harness = false
required-features = ["embed-ipadic"]

[[bench]]
name = "bench_ipadic_neologd"
path = "benches/bench_ipadic_neologd.rs"
harness = false
required-features = ["embed-ipadic-neologd"]

[[bench]]
name = "bench_ko_dic"
path = "benches/bench_ko_dic.rs"
harness = false
required-features = ["embed-ko-dic"]

[[bench]]
name = "bench_unidic"
path = "benches/bench_unidic.rs"
harness = false
required-features = ["embed-unidic"]

[dependencies.anyhow]
version = "1.0.100"

[dependencies.byteorder]
version = "1.5.0"

[dependencies.csv]
version = "1.4.0"

[dependencies.daachorse]
version = "1.0.0"

[dependencies.kanaria]
version = "0.2.0"

[dependencies.lindera-cc-cedict]
version = "2.1.0"
optional = true

[dependencies.lindera-dictionary]
version = "2.1.0"

[dependencies.lindera-ipadic]
version = "2.1.0"
optional = true

[dependencies.lindera-ipadic-neologd]
version = "2.1.0"
optional = true

[dependencies.lindera-ko-dic]
version = "2.1.0"
optional = true

[dependencies.lindera-unidic]
version = "2.1.0"
optional = true

[dependencies.log]
version = "0.4.29"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.regex]
version = "1.12.2"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yaml_ng]
version = "0.10.0"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.strum_macros]
version = "0.27.2"

[dependencies.unicode-blocks]
version = "0.1.9"

[dependencies.unicode-normalization]
version = "0.1.25"

[dependencies.unicode-segmentation]
version = "1.12.0"

[dependencies.url]
version = "2.5.8"

[dev-dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0.149"