TOML · 1211 bytes Raw Blame History
1 [package]
2 name = "zephyrfs-node"
3 version = "0.1.0"
4 edition = "2021"
5 authors = ["espadonne (mfw)"]
6 license = "MIT"
7 description = "Core P2P node implementation for ZephyrFS distributed storage"
8 repository = "https://github.com/ZephyrFS/zephyrfs-node"
9
10 [dependencies]
11 # LibP2P networking stack
12 libp2p = { version = "0.54", features = [
13 "tcp",
14 "mdns",
15 "noise",
16 "yamux",
17 "kad",
18 "ping",
19 "identify",
20 "gossipsub",
21 "dcutr"
22 ]}
23 tokio = { version = "1.39", features = ["full"] }
24
25 # Storage and database
26 rocksdb = "0.22"
27 serde = { version = "1.0", features = ["derive"] }
28 serde_yaml = "0.9"
29
30 # Cryptography and hashing
31 blake3 = "1.5"
32 sha2 = "0.10"
33 rand = "0.8"
34
35 # Protocol buffers
36 prost = "0.13"
37 prost-types = "0.13"
38 tonic = "0.12"
39
40 # Logging and tracing
41 tracing = "0.1"
42 tracing-subscriber = { version = "0.3", features = ["env-filter"] }
43
44 # Error handling
45 anyhow = "1.0"
46 thiserror = "1.0"
47
48 # Configuration
49 config = "0.14"
50 clap = { version = "4.5", features = ["derive"] }
51
52 # Async utilities
53 futures = "0.3"
54 async-trait = "0.1"
55
56 [build-dependencies]
57 tonic-build = "0.12"
58
59 [[bin]]
60 name = "zephyrfs-node"
61 path = "src/main.rs"
62
63 [profile.release]
64 codegen-units = 1
65 lto = true
66 panic = "abort"