lindera-dictionary 5.3.0

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

[features]
build_rs = [
    "dep:flate2",
    "dep:md5",
    "dep:rand",
    "dep:tar",
    "dep:ureq",
]
ctxfreq = []
default = ["mmap"]
mmap = ["dep:memmap2"]

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

[[test]]
name = "build_dictionary"
path = "tests/build_dictionary.rs"

[[bench]]
name = "bench_build"
path = "benches/bench_build.rs"
harness = false

[dependencies.anyhow]
version = "1.0.104"

[dependencies.byteorder]
version = "1.5.0"

[dependencies.crawdad]
version = "=0.3.0"

[dependencies.csv]
version = "1.4.0"

[dependencies.daachorse]
version = "4.0.0"

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.encoding_rs_io]
version = "0.1.7"

[dependencies.flate2]
version = "1.1.9"
optional = true

[dependencies.glob]
version = "0.3.4"

[dependencies.log]
version = "0.4.33"

[dependencies.md5]
version = "0.8.1"
optional = true

[dependencies.memchr]
version = "2.8.3"

[dependencies.memmap2]
version = "0.9.11"
optional = true

[dependencies.once_cell]
version = "1.21.4"

[dependencies.rand]
version = "0.10.2"
optional = true
default-features = false

[dependencies.rkyv]
version = "0.8.17"
features = ["bytecheck"]

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

[dependencies.serde_json]
version = "1.0.151"

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

[dependencies.strum_macros]
version = "0.28.0"

[dependencies.tar]
version = "0.4.46"
optional = true

[dependencies.thiserror]
version = "2.0.19"

[dependencies.ureq]
version = "3.3.0"
features = ["rustls"]
optional = true
default-features = false

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

[dev-dependencies.rand]
version = "0.10.2"
default-features = false

[dev-dependencies.tempfile]
version = "3.27.0"

[target.'cfg(not(target_family = "wasm"))'.dependencies.rayon]
version = "1.12.0"