-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathCargo.toml
51 lines (44 loc) · 1.71 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
[package]
name = "fastembed"
version = "4.4.0"
edition = "2021"
description = "Rust implementation of https://github.com/qdrant/fastembed"
license = "Apache-2.0"
authors = [
"Anush008 <[email protected]>",
"Josh Niemelä <[email protected]>",
"GrisiaEvy <[email protected]>",
"George MacKerron <[email protected]>",
"Timon Vonk <[email protected]>",
"Luya Wang <[email protected]>",
"Tri <[email protected]>",
"Denny Wong <[email protected]>",
"Alex Rozgo <[email protected]>",
]
documentation = "https://docs.rs/fastembed"
repository = "https://github.com/Anush008/fastembed-rs"
homepage = "https://crates.io/crates/fastembed"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = { version = "1" }
hf-hub = { version = "0.4.1", default-features = false, optional = true }
image = "0.25.2"
ndarray = { version = "0.16", default-features = false }
ort = { version = "=2.0.0-rc.9", default-features = false, features = [
"ndarray",
] }
rayon = { version = "1.10", default-features = false }
serde_json = { version = "1" }
tokenizers = { version = "0.21", default-features = false, features = ["onig"] }
[features]
default = ["ort-download-binaries", "hf-hub-native-tls"]
hf-hub = ["dep:hf-hub", "hf-hub?/ureq"]
hf-hub-native-tls = ["hf-hub", "hf-hub?/native-tls"]
hf-hub-rustls-tls = ["hf-hub", "hf-hub?/rustls-tls"]
ort-download-binaries = ["ort/download-binaries"]
ort-load-dynamic = ["ort/load-dynamic"]
# This feature does not change any code, but is used to limit tests if
# the user does not have `optimum-cli` or even python installed.
optimum-cli = []
# For compatibility recommend using hf-hub-native-tls
online = ["hf-hub-native-tls"]