TOML · 1361 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 "tokio",
23 "macros"
24 ]}
25 tokio = { version = "1.39", features = ["full"] }
26
27 # Storage and database
28 rocksdb = { version = "0.24", default-features = false, features = ["snappy", "lz4", "zstd"] }
29 serde = { version = "1.0", features = ["derive"] }
30 serde_yaml = "0.9"
31 bincode = "1.3"
32 tempfile = "3.8"
33
34 # Cryptography and hashing
35 blake3 = "1.5"
36 sha2 = "0.10"
37 rand = "0.8"
38 hex = "0.4"
39
40 # Protocol buffers
41 prost = "0.13"
42 prost-types = "0.13"
43 tonic = "0.12"
44
45 # Logging and tracing
46 tracing = "0.1"
47 tracing-subscriber = { version = "0.3", features = ["env-filter"] }
48
49 # Error handling
50 anyhow = "1.0"
51 thiserror = "1.0"
52
53 # Configuration
54 config = "0.14"
55 clap = { version = "4.5", features = ["derive"] }
56
57 # Async utilities
58 futures = "0.3"
59 async-trait = "0.1"
60
61 [build-dependencies]
62 tonic-build = "0.12"
63
64 [[bin]]
65 name = "zephyrfs-node"
66 path = "src/main.rs"
67
68 [profile.release]
69 codegen-units = 1
70 lto = true
71 panic = "abort"