-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
68 lines (53 loc) · 1.53 KB
/
Cargo.toml
File metadata and controls
68 lines (53 loc) · 1.53 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
[package]
name = "sovereign-governance-engine"
version = "3.0.0"
edition = "2021"
authors = ["Lord Protocol Team"]
description = "Distributed consensus + cryptographic sovereignty + game theory on Apple Silicon"
[[bin]]
name = "sge-node"
path = "src/main.rs"
[dependencies]
# Consensus (OpenRaft)
openraft = { version = "0.9", features = ["serde"] }
# Async runtime
tokio = { version = "1.35", features = ["full"] }
tokio-stream = "0.1"
# Web framework (Axum)
axum = { version = "0.7", features = ["macros"] }
tower = { version = "0.4", features = ["limit", "timeout", "util"] }
tower-http = { version = "0.5", features = ["trace"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
# Database (SQLite)
rusqlite = { version = "0.31", features = ["bundled"] }
tokio-rusqlite = "0.5"
# Cryptography
sha2 = "0.10" # SHA-256 for Merkle tree
blake3 = "1.5" # BLAKE3 (faster alternative)
ed25519-dalek = "2.1" # Signatures
# HTTP client (for Raft network)
req west = { version = "0.11", features = ["json"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Config
config = "0.14"
toml = "0.8"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Utilities
uuid = { version = "1.6", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
[dev-dependencies]
tokio-test = "0.4"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
# M1 optimization: Target Apple Silicon specifically
[build]
target = "aarch64-apple-darwin"