# 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 = "2021" name = "ltp" version = "0.1.9" authors = ["ylfeng "] exclude = [".github"] description = "Language Technology Platform For Rust." homepage = "https://github.com/HIT-SCIR/ltp" readme = "README.md" keywords = [ "ltp", "nlp", ] license-file = "LICENSE" repository = "https://github.com/HIT-SCIR/ltp" resolver = "1" [[example]] name = "cws" path = "examples/cws.rs" required-features = [ "serialization", "parallel", ] [[example]] name = "pos" path = "examples/pos.rs" required-features = [ "serialization", "parallel", ] [[example]] name = "ner" path = "examples/ner.rs" required-features = [ "serialization", "parallel", ] [[example]] name = "simple" path = "examples/simple.rs" required-features = [ "serialization", "parallel", ] [dependencies.anyhow] version = "1" [dependencies.apache-avro] version = "0.16.0" optional = true [dependencies.binary-heap-plus] version = "0.5" [dependencies.cedarwood] version = "0.4" [dependencies.compact_str] version = "0.7" optional = true [dependencies.itertools] version = "0.12" [dependencies.num-traits] version = "0.2" [dependencies.rand] version = "0.8" [dependencies.rayon] version = "1.5" optional = true [dependencies.rkyv] version = "0.7" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.smallvec] version = "1" [dev-dependencies.clap] version = "4" features = ["derive"] [dev-dependencies.ndarray] version = "0.15" [dev-dependencies.ndarray-npy] version = "0.8" features = ["npz"] [features] char-type = [] cross-char = [] default = [] near-char-type = [] parallel = ["rayon"] serialization = [ "serde", "serde_json", "apache-avro", ]