-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
232 lines (201 loc) · 7.13 KB
/
Cargo.toml
File metadata and controls
232 lines (201 loc) · 7.13 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
[workspace]
resolver = "2"
members = [
"crates/rustkernels",
"crates/rustkernel-core",
"crates/rustkernel-derive",
"crates/rustkernel-graph",
"crates/rustkernel-ml",
"crates/rustkernel-compliance",
"crates/rustkernel-temporal",
"crates/rustkernel-risk",
"crates/rustkernel-banking",
"crates/rustkernel-behavioral",
"crates/rustkernel-orderbook",
"crates/rustkernel-procint",
"crates/rustkernel-clearing",
"crates/rustkernel-treasury",
"crates/rustkernel-accounting",
"crates/rustkernel-payments",
"crates/rustkernel-audit",
"crates/rustkernel-cli",
"crates/rustkernel-ecosystem",
"crates/rustkernel-python",
]
# Exclude rustkernel-python from default builds (requires Python dev headers + maturin)
default-members = [
"crates/rustkernels",
"crates/rustkernel-core",
"crates/rustkernel-derive",
"crates/rustkernel-graph",
"crates/rustkernel-ml",
"crates/rustkernel-compliance",
"crates/rustkernel-temporal",
"crates/rustkernel-risk",
"crates/rustkernel-banking",
"crates/rustkernel-behavioral",
"crates/rustkernel-orderbook",
"crates/rustkernel-procint",
"crates/rustkernel-clearing",
"crates/rustkernel-treasury",
"crates/rustkernel-accounting",
"crates/rustkernel-payments",
"crates/rustkernel-audit",
"crates/rustkernel-cli",
"crates/rustkernel-ecosystem",
]
[workspace.package]
version = "0.4.0"
edition = "2024"
rust-version = "1.85"
authors = ["Michael Ivertowski"]
license = "Apache-2.0"
repository = "https://github.com/mivertowski/RustKernels"
keywords = ["gpu", "kernels", "cuda", "compute", "finance"]
categories = ["science", "mathematics", "finance"]
[workspace.dependencies]
# Internal crates
rustkernels = { version = "0.4.0", path = "crates/rustkernels" }
rustkernel-core = { version = "0.4.0", path = "crates/rustkernel-core" }
rustkernel-derive = { version = "0.4.0", path = "crates/rustkernel-derive" }
rustkernel-graph = { version = "0.4.0", path = "crates/rustkernel-graph" }
rustkernel-ml = { version = "0.4.0", path = "crates/rustkernel-ml" }
rustkernel-compliance = { version = "0.4.0", path = "crates/rustkernel-compliance" }
rustkernel-temporal = { version = "0.4.0", path = "crates/rustkernel-temporal" }
rustkernel-risk = { version = "0.4.0", path = "crates/rustkernel-risk" }
rustkernel-banking = { version = "0.4.0", path = "crates/rustkernel-banking" }
rustkernel-behavioral = { version = "0.4.0", path = "crates/rustkernel-behavioral" }
rustkernel-orderbook = { version = "0.4.0", path = "crates/rustkernel-orderbook" }
rustkernel-procint = { version = "0.4.0", path = "crates/rustkernel-procint" }
rustkernel-clearing = { version = "0.4.0", path = "crates/rustkernel-clearing" }
rustkernel-treasury = { version = "0.4.0", path = "crates/rustkernel-treasury" }
rustkernel-accounting = { version = "0.4.0", path = "crates/rustkernel-accounting" }
rustkernel-payments = { version = "0.4.0", path = "crates/rustkernel-payments" }
rustkernel-audit = { version = "0.4.0", path = "crates/rustkernel-audit" }
# RingKernel 0.4.2 - deep integration with enterprise features
ringkernel = "0.4.2"
ringkernel-core = "0.4.2"
ringkernel-derive = "0.4.2"
ringkernel-cuda = "0.4.2" # Primary GPU backend
ringkernel-cpu = "0.4.2" # CPU fallback backend
ringkernel-ecosystem = "0.4.2"
ringkernel-codegen = "0.4.2"
ringkernel-cuda-codegen = "0.4.2" # CUDA code generation
# Additional backends (enable via features)
# ringkernel-wgpu = "0.4.2"
# ringkernel-metal = "0.4.2"
# Async runtime
tokio = { version = "1.48", features = ["full"] }
async-trait = "0.1"
futures = "0.3"
# Actor framework (Actix - closest to Orleans grains)
actix = "0.13"
actix-rt = "2.10"
# Service mode (REST/gRPC APIs)
axum = "0.8"
axum-extra = { version = "0.10", features = ["typed-header"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace", "timeout"] }
tonic = "0.14"
prost = "0.14"
prost-types = "0.14"
hyper = { version = "1.6", features = ["full"] }
hyper-util = { version = "0.1", features = ["full"] }
http = "1.2"
http-body-util = "0.1"
bytes = "1.9"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
rkyv = { version = "0.7", features = ["validation", "strict"] }
bytemuck = { version = "1.21", features = ["derive"] }
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Logging and tracing (enhanced for enterprise observability)
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-opentelemetry = "0.28"
opentelemetry = { version = "0.28", features = ["trace", "metrics"] }
opentelemetry_sdk = { version = "0.28", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.28", features = ["grpc-tonic"] }
metrics = "0.24"
metrics-exporter-prometheus = "0.16"
# Enterprise security
rustls = "0.23"
tokio-rustls = "0.26"
ring = "0.17"
base64 = "0.22"
jsonwebtoken = "9.3"
uuid = { version = "1.11", features = ["v4", "serde"] }
# Time and dates
chrono = { version = "0.4", features = ["serde"] }
# Collections
hashbrown = "0.15"
indexmap = "2.7"
smallvec = "1.13"
# Numeric and math
num-traits = "0.2"
nalgebra = "0.33"
ndarray = "0.16"
# Random number generation
rand = "0.9"
rand_chacha = "0.9"
rand_distr = "0.5"
# Testing
proptest = "1.6"
criterion = "0.5"
# CLI
clap = { version = "4.5", features = ["derive"] }
# Proc macro support
syn = { version = "2.0", features = ["full", "extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
darling = "0.20"
# Python bindings
pyo3 = { version = "0.24", features = ["extension-module"] }
# Runtime registration
inventory = "0.3"
[workspace.lints.rust]
unsafe_code = "warn"
missing_docs = "warn"
[workspace.lints.clippy]
all = "warn"
pedantic = "warn"
nursery = "warn"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
[profile.bench]
lto = true
codegen-units = 1
# ============================================================================
# Workspace Feature Flags
# ============================================================================
# These features control enterprise capabilities across the entire workspace.
# Enable via: cargo build --workspace --features "enterprise"
[workspace.metadata.features]
# Enterprise features bundle
enterprise = ["crypto", "auth", "tls", "alerting", "rate-limiting", "multi-tenancy"]
# Security features
crypto = [] # Encryption at rest and in transit
auth = [] # JWT/OAuth authentication
tls = [] # TLS 1.3 for all connections
rate-limiting = [] # Request rate limiting per tenant
multi-tenancy = [] # Multi-tenant isolation
# Observability features
otlp = [] # OpenTelemetry Protocol export
structured-logging = [] # JSON structured logging
alerting = [] # Alert rule engine (Slack, PagerDuty)
# Ecosystem integrations
actix-integration = [] # Actix actor bridge
axum-integration = [] # REST/SSE endpoints
tower-integration = [] # Tower service middleware
grpc-integration = [] # Tonic gRPC server
# Backend selection
cuda-backend = [] # NVIDIA CUDA (primary)
cpu-backend = [] # CPU fallback
# wgpu-backend = [] # WebGPU (deferred)
# metal-backend = [] # Apple Metal (deferred)