forked from messense/jieba-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (44 loc) · 1.1 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
50
51
52
[package]
name = "jieba-rs"
version = "0.6.7"
authors = ["messense <[email protected]>", "Paul Meng <[email protected]>"]
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 = '2018'
[package.metadata.docs.rs]
all-features = true
[dev-dependencies]
criterion = "0.4"
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]
regex = "1.0"
lazy_static = "1.0"
phf = "0.11"
hashbrown = { version = "0.12", default-features = false, features = ["inline-more"] }
cedarwood = "0.4"
ordered-float = { version = "3.0", optional = true }
fxhash = "0.2.1"
[build-dependencies]
phf_codegen = "0.11"
[features]
default = ["default-dict"]
default-dict = []
tfidf = ["ordered-float"]
textrank = ["ordered-float"]
[workspace]
members = [
".",
"capi",
"examples/weicheng"
]