-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
129 lines (108 loc) · 3.31 KB
/
Cargo.toml
File metadata and controls
129 lines (108 loc) · 3.31 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
117
118
119
120
121
122
123
124
125
126
127
128
129
[package]
name = "zkbridge-router"
version = "6.0.0"
edition = "2021"
authors = ["ZK Bridge Team <sandeep.savethem2@gmail.com>"]
description = "zkBridge Router v6 - Cross-Chain Sovereign Operating System with Autonomous Recovery, Recursive Composability, and Post-Governance Self-Healing"
license = "MIT"
repository = "https://github.com/MrDecryptDecipher/ZK-Bridge-Router"
keywords = ["solana", "bridge", "zk-proofs", "cross-chain", "blockchain"]
categories = ["cryptography", "network-programming", "development-tools"]
[[bin]]
name = "zkbridge"
path = "src/main.rs"
[[bin]]
name = "zkbridge-server"
path = "src/bin/zkbridge-server.rs"
[[bin]]
name = "zkbridge-ws"
path = "src/bin/zkbridge-ws.rs"
[[bin]]
name = "zkbridge-grpc"
path = "src/bin/zkbridge-grpc.rs"
[dependencies]
# Solana Core Dependencies - REAL PRODUCTION COMPONENTS
solana-sdk = "=1.18.26"
solana-client = "=1.18.26"
solana-program = "=1.18.26"
anchor-lang = "0.30.1"
anchor-spl = "0.30.1"
# Zero-Knowledge Proof Libraries - REAL PRODUCTION COMPONENTS
ark-ff = "0.4"
ark-ec = "0.4"
ark-serialize = "0.4"
ark-std = "0.4"
ark-groth16 = "0.4"
ark-poly-commit = "0.4"
halo2_proofs = "0.3"
bellman = "0.14"
# Async Runtime & Networking
tokio = { version = "1.35", features = ["full"] }
tokio-util = "0.7"
futures = "0.3"
async-trait = "0.1"
# HTTP Server & API
axum = { version = "0.7.5", features = ["ws", "multipart"] }
axum-extra = { version = "0.8.0", features = ["cookie"] }
hyper = { version = "1.0", features = ["full"] }
tower = { version = "0.4.13", features = ["full"] }
tower-http = { version = "0.5.2", features = ["cors", "trace", "fs"] }
# gRPC - REAL PRODUCTION COMPONENTS
tonic = "0.11"
prost = "0.12"
# Database & Storage - REAL PRODUCTION COMPONENTS
rusqlite = { version = "0.29", features = ["bundled", "chrono", "serde_json"] }
redis = { version = "0.24", features = ["tokio-comp"] }
# Cryptography & Security
ed25519-dalek = { version = "=1.0.1", features = ["rand_core"] }
aes-gcm = "0.10"
ring = "0.17"
sha2 = "0.10"
hmac = "0.12"
rand = "0.8"
# Serialization & Configuration
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.8"
bincode = "1.3"
# Monitoring & Observability - REAL PRODUCTION COMPONENTS
prometheus = { version = "0.13", features = ["process"] }
metrics = "0.22"
metrics-exporter-prometheus = "0.13"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-appender = "0.2"
# CLI & Utilities
clap = { version = "4.4", features = ["derive", "env"] }
uuid = { version = "1.6", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
anyhow = "1.0"
thiserror = "1.0"
once_cell = "1.19"
lazy_static = "1.4"
# Additional dependencies for WebSocket and gRPC
base64 = "0.21"
# Networking & Communication - REAL PRODUCTION COMPONENTS
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
tungstenite = "0.21"
tokio-tungstenite = "0.21"
# IPFS Integration - REAL PRODUCTION COMPONENTS
ipfs-api-backend-hyper = "0.6"
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.8"
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1.4"
[build-dependencies]
tonic-build = "0.11"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = true
overflow-checks = true