-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
58 lines (54 loc) · 1.21 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
[package]
name = "vtext"
version = "0.2.0"
description = "NLP with Rust"
license = "Apache-2.0"
documentation = "https://docs.rs/vtext/"
repository = "https://github.com/rth/vtext"
readme = "README.md"
authors = ["Roman Yurchak <[email protected]>"]
keywords = [
"nlp",
"tokenization",
"tfidf",
"levenshtein",
"text-processing"
]
edition = "2018"
exclude = [
"python/*",
"benchmarks/*",
"evaluation/*",
"ud-treebanks-*",
"data/*",
"*.tgz",
"*.zip",
"sandbox/*"
]
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = false
debug-assertions = false
panic = 'unwind'
overflow-checks = false
[dependencies]
regex = "1"
lazy_static = "1.4.0"
seahash = "4.0.0"
itertools = "0.9"
ndarray = "0.13.0"
serde = { version = "1.0", features = ["derive"] }
sprs = {version = "0.7.1", default-features = false}
unicode-segmentation = "1.6.0"
thiserror = "1.0"
hashbrown = { version = "0.8", features = ["rayon"] }
rayon = {version = "1.3", optional = true}
dict_derive = {version = "0.2", optional = true}
pyo3 = {version = "0.10.1", optional = true}
[dev-dependencies]
approx = "0.3.2"
[features]
# Additional bindings used from the python wrapper.
python = ["pyo3", "dict_derive"]