-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (59 loc) · 2.15 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 = "zebra"
authors = ["Emil Sayahi"]
description = "A vector database for querying meaningfully similar data."
repository = "https://github.com/emmyoh/zebra/"
license = "AGPL-3.0-or-later"
readme = "README.md"
version = "0.1.0"
edition = "2021"
[lib]
name = "zebra"
path = "src/lib.rs"
crate-type=["rlib", "dylib", "staticlib"]
[[bin]]
name = "zebra"
path = "src/main.rs"
doc = false
required-features = ["cli"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.5.23", features = ["derive"], optional = true }
fastembed = "4.3.0"
simsimd = "6.2.3"
space = "0.18.0"
lz4_flex = { version = "0.11.3", default-features = false, features = ["frame"] }
ticky = { version = "1.0.2", optional = true }
pretty-duration = { version = "0.1.1", optional = true }
indicatif = { version = "0.17.9", optional = true, features = ["rayon", "improved_unicode"] }
distances = "1.8.0"
candle-examples = "0.8.1"
candle-core = "0.8.1"
candle-nn = "0.8.1"
candle-transformers = "0.8.1"
hf-hub = "0.4.1"
viuer = { version = "0.9.1", optional = true }
sonogram = "0.7.1"
image = "0.25.5"
rodio = { version = "0.20.1", optional = true }
rayon = "1.10.0"
bytes = { version = "1.9.0" }
symphonia = "0.5.4"
anyhow = "1.0.95"
hamming-bitwise-fast = "1.0.0"
dashmap = { version = "6.1.0", features = ["rayon", "inline", "serde"] }
rand = "0.8.5"
fjall = "2.4.4"
uuid = { version = "1.11.0", features = ["fast-rng", "v7", "serde"] }
serde = { version = "1.0.217", features = ["derive"] }
bincode = "1.3.3"
serde_with = "3.12.0"
[features]
default = []
default_db = []
accelerate = ["candle-core/accelerate", "candle-examples/accelerate", "candle-nn/accelerate", "candle-transformers/accelerate"]
cuda = ["candle-core/cuda", "candle-examples/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
mkl = ["candle-core/mkl", "candle-examples/mkl", "candle-nn/mkl", "candle-transformers/mkl"]
metal = ["candle-core/metal", "candle-examples/metal", "candle-nn/metal", "candle-transformers/metal"]
sixel = ["viuer/sixel"]
cli = ["default_db", "dep:clap", "dep:ticky", "dep:pretty-duration", "dep:indicatif", "dep:viuer", "dep:rodio"]