-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
22 lines (20 loc) · 1.22 KB
/
Cargo.toml
File metadata and controls
22 lines (20 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[package]
name = "rusty-raft"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = "1.0" # Error handling
clap = { version = "4.0", features = ["derive"] } # Command-line argument parsing
config = "0.15.16" # Configuration management
prost = "0.14.1" # Protocol Buffers
rand = "0.9.2" # Random number generation for leader election
redis = { version = "0.32.5", features = ["tokio-comp"] } # Redis client
serde = { version = "1.0", features = ["derive"] } # Serialization/deserialization
serde_json = "1.0.145" # JSON serialization/deserialization
tonic = { version = "0.14.2", features = ["transport"] } # gRPC over HTTP
tonic-prost = "0.14.2" # Prost integration for Tonic
tokio = { version = "1", features = ["full"] } # Asynchronous runtime
tracing = "0.1" # Logging
tokio-test = "0.4" # Testing utilities for Tokio
[build-dependencies]
tonic-prost-build = "0.14.2"