-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
116 lines (107 loc) · 2.8 KB
/
Copy pathCargo.toml
File metadata and controls
116 lines (107 loc) · 2.8 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[package]
name = "minikv"
version = "1.0.1"
edition = "2021"
authors = ["Em' <whispem@users.noreply.github.com>"]
description = "Distributed key-value store with Raft consensus, encryption at rest, and pluggable storage backends."
license = "MIT"
repository = "https://github.com/whispem/minikv"
keywords = ["distributed", "kv-store", "raft", "consensus", "storage"]
categories = ["database-implementations", "network-programming"]
rust-version = "1.81"
[dependencies]
# Persistent storage backends
sled = { version = "0.34", optional = true }
# Async runtime
tokio = { version = "1", features = ["rt-multi-thread", "net", "io-util", "sync", "macros", "fs", "signal", "time"] }
# gRPC
tonic = { version = "0.12", features = ["tls"] }
prost = "0.13"
# HTTP server (public API)
axum = { version = "0.7", features = ["ws"] }
tower = { version = "0.5", features = ["util", "timeout"] }
tower-http = { version = "0.5", features = ["limit", "trace"] }
# Metadata store
rocksdb = "0.22"
# Raft consensus
raft = "0.7"
raft-proto = "0.7"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
# Crypto & hashing
blake3 = "1.5"
crc32fast = "1.4"
# Bloom filters
bloomfilter = "3.0.1"
sha2 = "0.10"
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Logging & tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# CLI
clap = { version = "4", features = ["derive"] }
# Time utilities
chrono = { version = "0.4", features = ["serde"] }
# URL encoding
percent-encoding = "2.3"
# Byte utilities
bytes = "1.11"
hex = "0.4"
# HTTP client (for volume pull operations)
reqwest = { version = "0.12", features = ["stream"] }
tokio-stream = "0.1"
uuid = { version = "1.19.0", features = ["v4"] }
rand = "0.8"
once_cell = "1.21.3"
config = { version = "0.15.19", features = ["toml"] }
axum-server = { version = "0.8", features = ["tls-rustls"] }
tokio-rustls = "0.26.4"
rustls = "0.23.35"
rustls-pemfile = "2.2.0"
# Compression (v0.5.0)
lz4 = "1.28"
# Distributed tracing (v0.5.0)
tracing-opentelemetry = "0.27"
opentelemetry = "0.27"
# Authentication & Security (v0.6.0)
jsonwebtoken = "9"
argon2 = "0.5"
base64 = "0.22"
# Encryption at rest (v0.6.0)
aes-gcm = "0.10"
hkdf = "0.12"
futures-util = "0.3"
async-stream = "0.3"
# v0.8.0 - Plugin system and async traits
async-trait = "0.1"
[build-dependencies]
tonic-build = "0.12"
[dev-dependencies]
tempfile = "3.10"
criterion = { version = "0.5", features = ["html_reports"] }
tokio-test = "0.4"
[features]
default = []
rocksdb = []
sled-backend = ["sled"]
heavy-tests = []
[[bin]]
name = "minikv-coord"
path = "src/bin/coord.rs"
[[bin]]
name = "minikv-volume"
path = "src/bin/volume.rs"
[[bin]]
name = "minikv"
path = "src/bin/cli.rs"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.bench]
inherits = "release"