-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathCargo.toml
63 lines (55 loc) · 1.63 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
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "jieba-rs"
version = "0.7.2"
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 = { workspace = true }
rand = { workspace = true }
wasm-bindgen-test = { workspace = true }
[target.'cfg(unix)'.dev-dependencies]
jemallocator = "0.5.0"
[[bench]]
name = "jieba_benchmark"
harness = false
required-features = ["tfidf", "textrank"]
[dependencies]
jieba-macros = { workspace = true }
cedarwood = { workspace = true }
derive_builder = { workspace = true, optional = true }
fxhash = { workspace = true }
include-flate = { workspace = true }
lazy_static = { workspace = true }
ordered-float = { workspace = true, optional = true }
phf = { workspace = true }
regex = { workspace = true }
[features]
default = ["default-dict"]
default-dict = []
tfidf = ["dep:ordered-float", "dep:derive_builder"]
textrank = ["dep:ordered-float", "dep:derive_builder"]
[workspace]
members = [".", "capi", "jieba-macros", "examples/weicheng"]
[workspace.dependencies]
c_fixed_string = "0.2.0"
cedarwood = "0.4"
codspeed-criterion-compat = "2.4.1"
derive_builder = "0.20.0"
fxhash = "0.2.1"
include-flate = "0.3.0"
jieba-macros = { version = "0.7.1", path = "jieba-macros" }
lazy_static = "1.0"
ordered-float = "4.0"
phf = "0.11"
phf_codegen = "0.11"
rand = "0.8"
regex = "1.0"
wasm-bindgen-test = "0.3.0"