-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (59 loc) · 1.72 KB
/
Cargo.toml
File metadata and controls
73 lines (59 loc) · 1.72 KB
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
65
66
67
68
69
70
71
72
73
[package]
name = "skypier-vecdb"
version = "0.1.0"
edition = "2021"
authors = ["SkyPier Team"]
description = "A decentralized minimal vector database for AI infrastructure"
license = "MIT"
repository = "https://github.com/user/skypier-vecdb"
[workspace]
members = ["crates/*"]
[dependencies]
# Async runtime
tokio = { version = "1.0", features = ["full"] }
# Web framework
axum = "0.8"
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# P2P networking
libp2p = { version = "0.55", features = ["tcp", "noise", "yamux", "gossipsub", "mdns", "kad", "request-response", "identify"] }
# Storage
redb = "2.0"
# Vector operations (removed candle-core due to dependency conflicts)
# candle-core = "0.6"
# candle-nn = "0.6"
faiss = { version = "0.11", optional = true }
# Utilities
uuid = { version = "1.0", features = ["v4", "serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1.0"
thiserror = "1.0"
clap = { version = "4.0", features = ["derive"] }
config = "0.14"
# Cryptography
sha2 = "0.10"
blake3 = "1.5"
# Workspace dependencies
skypier-core = { path = "crates/skypier-core" }
skypier-storage = { path = "crates/skypier-storage" }
skypier-network = { path = "crates/skypier-network" }
skypier-index = { path = "crates/skypier-index" }
[dev-dependencies]
axum-test = "15.0"
tempfile = "3.8"
tokio-test = "0.4"
criterion = { version = "0.5", features = ["html_reports"] }
[features]
default = ["embedded"]
embedded = []
faiss-backend = ["faiss"]
[[bin]]
name = "skypier-vecdb"
path = "src/main.rs"
[[bench]]
name = "vector_operations"
harness = false