-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
173 lines (149 loc) · 4.5 KB
/
Cargo.toml
File metadata and controls
173 lines (149 loc) · 4.5 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
[workspace]
members = [
# Solana Smart Contracts
"contracts/solana/rtf-vault",
"contracts/solana/rtf-governance",
"contracts/solana/rtf-compliance",
"contracts/solana/rtf-redemption",
"contracts/solana/rtf-tranches",
# Ethereum Smart Contracts (Rust tooling)
"contracts/ethereum/rtf-dao",
"contracts/ethereum/rtf-semantic",
# Starknet Contracts (Cairo integration)
"contracts/starknet/rtf-zknav",
# Backend Microservices
"backend/api",
"backend/oracle",
"backend/compliance",
"backend/treasury",
"backend/zk-nav",
"backend/cross-chain",
"backend/metrics",
"backend/llm-agent",
"backend/exposure-detector",
"backend/emergency-handler",
"backend/monitoring",
"backend/bridge-defense",
"backend/governance",
"backend/esg-compliance",
# Infrastructure & Utilities
"infrastructure/deployment",
"utils/crypto",
"utils/zk-proofs",
"utils/post-quantum",
]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
authors = ["RTF Infrastructure Team <team@rtf.finance>"]
license = "MIT"
repository = "https://github.com/MrDecryptDecipher/Real-World-Tokenized-Fund-Infrastructure-RTF-"
description = "Real-World Tokenized Fund Infrastructure - Advanced Multi-Chain Financial Platform"
[workspace.dependencies]
# Core Rust dependencies
tokio = { version = "1.39", features = ["full"] }
anyhow = "1.0"
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.10", features = ["v4", "serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
async-trait = "0.1"
futures = "0.3"
rayon = "1.8"
# Blockchain & Crypto - Solana (July 2025 - Firedancer Era)
anchor-lang = "0.30.1"
anchor-spl = "0.30.1"
solana-program = "2.0.0"
solana-sdk = "2.0.0"
solana-client = "2.0.0"
solana-account-decoder = "2.0.0"
spl-token = "6.0.0"
spl-token-2022 = "3.0.0"
spl-associated-token-account = "3.0.0"
switchboard-v2 = "0.6.0"
# Blockchain & Crypto - Ethereum (July 2025 - Post-Merge Era)
ethers = "2.0.14"
web3 = "0.19.0"
alloy = "0.4.2"
foundry-evm = "0.3.0"
# Blockchain & Crypto - Bitcoin
bitcoin = "0.31"
secp256k1 = "0.28"
miniscript = "11.0"
# Blockchain & Crypto - Multi-chain (July 2025 - CCIP v1.6.0 Production)
# chainlink-ccip = "1.6.0" # Not available yet, will implement interface
# babylon-bitcoin = "2.0.0" # Not available yet, will implement interface
# Post-Quantum Cryptography
pqcrypto-dilithium = "0.5"
pqcrypto-traits = "0.3"
pqcrypto-kyber = "0.7"
sha2 = "0.10"
sha3 = "0.10"
blake3 = "1.5"
ring = "0.17"
ed25519-dalek = "2.1"
x25519-dalek = "2.0"
# Zero-Knowledge Proofs
ark-std = "0.4"
ark-ff = "0.4"
ark-ec = "0.4"
ark-serialize = "0.4"
ark-bn254 = "0.4"
ark-groth16 = "0.4"
plonky2 = "0.2"
starky = "0.2"
halo2_proofs = "0.3"
bellman = "0.14"
nova-snark = "0.32"
# Starknet & Cairo Integration (July 2025 - v0.14.0 with 6-second blocks)
# starknet = "0.14.0" # Not available yet, will implement interface
# cairo-lang = "2.8.0" # Not available yet, will implement interface
# starknet-core = "0.14.0" # Not available yet, will implement interface
# starknet-providers = "0.14.0" # Not available yet, will implement interface
# Database & Storage
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "json"] }
redis = { version = "0.24", features = ["tokio-comp", "connection-manager"] }
rocksdb = "0.21"
# Web & API
axum = { version = "0.7", features = ["json", "tokio", "tower-log"] }
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
hyper = { version = "1.0", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
# Oracle & External APIs
switchboard-v2 = "0.6.0"
# Compliance & Regulatory (using standard crates for now)
# kilt-sdk = "0.2" # Not available on crates.io
# fractal-id = "0.1" # Not available on crates.io
# Monitoring & Observability
prometheus = "0.13"
metrics = "0.22"
opentelemetry = "0.21"
# Testing
proptest = "1.4"
tokio-test = "0.4"
wiremock = "0.5"
criterion = { version = "0.5", features = ["html_reports"] }
futures = "0.3"
# Development
dotenv = "0.15"
clap = { version = "4.4", features = ["derive"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
opt-level = 0
debug = true
overflow-checks = true
[profile.test]
opt-level = 1
[[bench]]
name = "rtf_benchmarks"
harness = false
debug = true