-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
64 lines (55 loc) · 1.59 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
64
[package]
name = "senteval"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
# One of these features must always be specified.
# e.g.,
# - `cargo run --features openblas`
# - `cargo run --features intel-mkl`
openblas = ["openblas-static"]
openblas-static = ["sif-embedding/openblas-static", "openblas-src/static"]
openblas-system = ["sif-embedding/openblas-system", "openblas-src/system"]
netlib = ["netlib-static"]
netlib-static = ["sif-embedding/netlib-static", "netlib-src/static"]
netlib-system = ["sif-embedding/netlib-system", "netlib-src/system"]
intel-mkl = ["intel-mkl-static"]
intel-mkl-static = [
"sif-embedding/intel-mkl-static",
"intel-mkl-src/mkl-static-lp64-seq",
]
intel-mkl-system = [
"sif-embedding/intel-mkl-system",
"intel-mkl-src/mkl-dynamic-lp64-seq",
]
[dependencies]
clap = { version = "4.2.7", features = ["derive"] }
finalfusion = "0.17.2"
GSL = "6.0.0"
vtext = "0.2.0"
wordfreq = "0.2.3"
wordfreq-model = { version = "0.2.3", features = ["large-en"] }
[dependencies.sif-embedding]
path = "../../"
features = ["finalfusion", "wordfreq"]
default-features = false
[dependencies.ndarray]
version = "0.15.6"
features = ["approx-0_5", "blas", "std"]
default-features = false
[dependencies.openblas-src]
version = "0.10.4"
optional = true
default-features = false
features = ["cblas"]
[dependencies.netlib-src]
version = "0.8.0"
optional = true
default-features = false
features = ["cblas"]
[dependencies.intel-mkl-src]
version = "0.8.1"
optional = true
default-features = false