-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
116 lines (96 loc) · 2.46 KB
/
Copy pathCargo.toml
File metadata and controls
116 lines (96 loc) · 2.46 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
[workspace]
resolver = "2"
members = [
# Core engines
"src/core/egide-crypto",
"src/core/egide-seal",
"src/core/egide-secrets",
"src/core/egide-kms",
"src/core/egide-pki",
"src/core/egide-transit",
# Server
"src/server/egide-server",
"src/server/egide-api",
"src/server/egide-auth",
# Storage backends
"src/storage/egide-storage",
"src/storage/egide-storage-postgres",
"src/storage/egide-storage-sqlite",
# CLI
"src/cli/egide-cli",
# Facade
"src/egide",
# Integration tests
"tests/integration",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.94"
license = "MIT OR Apache-2.0"
authors = ["Nubster <contact@nubster.com>"]
repository = "https://github.com/nubster-opensources/egide"
homepage = "https://nubster.com"
documentation = "https://egide.nubster.com/docs"
keywords = ["secrets", "vault", "kms", "pki", "encryption"]
categories = ["cryptography", "authentication"]
[workspace.dependencies]
# Async runtime
tokio = { version = "1.40", features = ["full"] }
async-trait = "0.1"
# Cryptography
aes-gcm = "0.11"
hkdf = "0.13"
sha2 = "0.11"
hmac = "0.13"
rand = "0.10"
zeroize = { version = "1.8", features = ["derive"] }
blahaj = "0.6"
argon2 = "0.5"
subtle = "2.6"
# Database
sqlx = { version = "0.9", default-features = false, features = ["runtime-tokio", "sqlite", "postgres"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
base64 = "0.23"
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# CLI
clap = { version = "4.5", features = ["derive", "env"] }
# HTTP
axum = "0.8"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
tower = "0.5"
tower-http = { version = "0.7", features = ["trace", "cors"] }
# gRPC
tonic = "0.14.6"
prost = "0.14"
tonic-health = "0.14.6"
tonic-reflection = "0.14.6"
tonic-build = "0.14.6"
tonic-prost = "0.14.6"
tonic-prost-build = "0.14.6"
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "deny"
unreachable_pub = "warn"
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
similar_names = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
[profile.dev]
opt-level = 0
debug = true