-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Cargo.toml
49 lines (41 loc) · 1.15 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "jieba-rs"
version = "0.7.0"
authors = ["messense <messense@icloud.com>", "Paul Meng <me@paulme.ng>"]
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 = { version = "0.20.0", optional = true }
fxhash = "0.2.1"
include-flate = "0.3.0"
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 = ["dep:ordered-float", "dep:derive_builder"]
textrank = ["dep:ordered-float", "dep:derive_builder"]
[workspace]
members = [".", "capi", "examples/weicheng"]