[package] name = "jieba-rs" version = "0.7.0" authors = ["messense ", "Paul Meng "] categories = ["text-processing"] description = "The Jieba Chinese Word Segmentation Implemented in Rust" keywords = ["nlp", "chinese", "segmenation"] license = "MIT" readme = "README.md" repository = "https://github.com/messense/jieba-rs" edition = '2021' [package.metadata.docs.rs] all-features = true [dev-dependencies] codspeed-criterion-compat = "2.4.1" rand = "0.8" wasm-bindgen-test = "0.3.0" [target.'cfg(unix)'.dev-dependencies] jemallocator = "0.5.0" [[bench]] name = "jieba_benchmark" harness = false required-features = ["tfidf", "textrank"] [dependencies] cedarwood = "0.4" derive_builder = "0.20.0" fxhash = "0.2.1" lazy_static = "1.0" ordered-float = { version = "4.0", optional = true } phf = "0.11" regex = "1.0" [build-dependencies] phf_codegen = "0.11" [features] default = ["default-dict"] default-dict = [] tfidf = ["ordered-float"] textrank = ["ordered-float"] [workspace] members = [ ".", "capi", "examples/weicheng" ]