-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
133 lines (106 loc) · 3.78 KB
/
Cargo.toml
File metadata and controls
133 lines (106 loc) · 3.78 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
[workspace]
resolver = "2"
members = [
# ===========================================================================
# ===========================================================================
# CORE PILLARS (6 Pillars of AgentKern)
# ===========================================================================
# 🛡️ Gate - Policy & Safety ("Is this action allowed?")
"packages/pillars/gate",
# 🧠 Synapse - Memory & State ("What was the goal? Has agent drifted?")
"packages/pillars/synapse",
# ⚖️ Arbiter - Coordination & Control ("Two agents want same resource—who wins?")
"packages/pillars/arbiter",
# 🔀 Nexus - Protocols & Routing ("How do multi-vendor agents talk?")
"packages/pillars/nexus",
# 💰 Treasury - Payments & Budgets ("How do agents pay? What's the limit?")
"packages/pillars/treasury",
# 🪪 Identity - Authentication & Identity Management
"packages/pillars/identity",
# ===========================================================================
# INFRASTRUCTURE
# ===========================================================================
"packages/foundation/runtime", # WASM Execution runtime
"packages/foundation/edge", # Edge deployment
"packages/foundation/parsers", # Message parsers (IDOC, SWIFT, HL7)
# ===========================================================================
# DOMAIN (DDD Bounded Contexts)
# ===========================================================================
"packages/foundation/governance", # Compliance & Regulations
"packages/foundation/pulse", # Observability & Health
# ===========================================================================
# SDK PACKAGES
# ===========================================================================
"sdks/core",
"sdks/node",
# ===========================================================================
# EXTERNAL SDKs
# ===========================================================================
"sdks/python", "apps/server",
]
[workspace.package]
version = "0.1.0-rc1"
edition = "2024"
rust-version = "1.92"
license = "Apache-2.0"
repository = "https://github.com/AgentKern/agentkern"
authors = ["AgentKern Team"]
[workspace.dependencies]
# Async Runtime
tokio = { version = "1.48", features = ["full"] }
async-trait = "0.1.83"
# Serialization
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.148"
# Error Handling
thiserror = "2.0.17"
anyhow = "1.0.95"
# Crypto
sha2 = "0.10.8"
hmac = "0.12.1"
ring = "0.17.8"
hex = "0.4"
# HTTP
reqwest = { version = "0.12.26", features = ["json", "rustls-tls"] }
axum = "0.8.8"
# Database
sqlx = { version = "0.8.6", features = ["runtime-tokio", "postgres", "sqlite"] }
# Tracing
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["json"] }
# Time
chrono = { version = "0.4.39", features = ["serde"] }
# Decimal
# Note: rkyv feature disabled to avoid RUSTSEC-2026-0001 vulnerability
rust_decimal = { version = "1.39", default-features = false, features = ["serde", "std"] }
rust_decimal_macros = "1.39"
# UUID
uuid = { version = "1.19", features = ["v4", "serde"] }
# WASM
wasmtime = "40.0"
# Random
rand = "0.9"
# Neural
ort = "2.0.0-rc.11"
ndarray = "0.17.2"
# Testing
temp-env = "0.3"
# Encoding
base64 = "0.22"
# Redis
redis = { version = "0.29", features = ["tokio-rustls-comp", "json"] }
# Cloud KMS
aws-config = "1.5"
aws-sdk-kms = "1.60"
# CLI
clap = { version = "4.5", features = ["derive"] }
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
[profile.release]
lto = false
codegen-units = 1 # Enabled to prevent CI OOM
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = true