-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
128 lines (101 loc) · 2.74 KB
/
Cargo.toml
File metadata and controls
128 lines (101 loc) · 2.74 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
[package]
name = "universal-ai-governor"
version = "1.0.0"
edition = "2021"
authors = ["Sourav Rajak <morningstar.xcd@gmail.com>"]
description = "Hardware-backed AI governance platform for enterprise deployments"
license = "MIT"
repository = "https://github.com/MStarRobotics/Universal-AI-Governor"
homepage = "https://github.com/MStarRobotics/Universal-AI-Governor"
documentation = "https://docs.rs/universal-ai-governor"
readme = "README.md"
keywords = ["ai", "security", "governance", "tpm", "enterprise"]
categories = ["security", "web-programming", "api-bindings"]
rust-version = "1.70"
# [patch.crates-io] - Removed invalid patches that pointed to same source
[dependencies]
# Core async runtime
tokio = { version = "1.0", features = ["full"] }
# Web framework
axum = { version = "0.7", features = ["macros", "multipart"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace", "compression-br"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
# Configuration management
config = "0.14"
clap = { version = "4.0", features = ["derive"] }
# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Cryptography
ring = "0.17"
zeroize = { version = "1.7", features = ["derive"] }
# Database support
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "sqlite", "postgres", "chrono", "uuid"], default-features = false }
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# UUID generation
uuid = { version = "1.0", features = ["v4", "serde"] }
# HTTP client
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
# Async utilities
futures = "0.3"
# JSON Web Tokens
jsonwebtoken = "9.0"
protobuf = "3.7.2"
# Metrics
prometheus = { version = "0.14", features = ["process"] }
# Hardware integration (optional)
[features]
default = []
secure-enclave = []
adversarial-testing = []
fuzzing-support = []
fault-injection = []
chaos-testing = []
rbac-testing = []
permission-matrix = []
stability-testing = []
memory-profiling = []
load-testing = []
metrics = []
fips-compliance = []
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.0"
criterion = { version = "0.5", features = ["html_reports"] }
wiremock = "0.5"
proptest = "1.0"
futures-util = "0.3"
[[bin]]
name = "universal-ai-governor"
path = "src/main.rs"
[[bench]]
name = "performance"
harness = false
[lib]
name = "universal_ai_governor"
path = "src/lib.rs"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
debug = 1
[profile.dev]
opt-level = 0
debug = true
incremental = true
[profile.test]
opt-level = 1
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = false