-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
110 lines (94 loc) · 3.21 KB
/
Copy pathCargo.toml
File metadata and controls
110 lines (94 loc) · 3.21 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
[workspace]
resolver = "2"
members = [
"agent",
"agent/csfx-guest-init",
"control-plane/api-gateway",
"control-plane/csfx-migrate",
"control-plane/csfx-updater",
"control-plane/scheduler",
"control-plane/failover-controller",
"control-plane/sdn-controller",
"control-plane/volume-manager",
"control-plane/registry",
"control-plane/shared/entity",
"control-plane/shared/migration",
"control-plane/shared/shared",
]
[workspace.package]
version = "0.2.2"
edition = "2021"
authors = ["CS-Foundry"]
license = "SEE LICENSE IN LICENSE"
repository = "https://github.com/CSFX-cloud/CSFX-Core"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
async-trait = "0.1"
# Database
sea-orm = { version = "1.1.0", features = ["sqlx-postgres", "runtime-tokio-rustls", "macros"] }
sea-orm-migration = { version = "1.1.0", features = ["runtime-tokio-rustls", "sqlx-postgres"] }
# Web framework
axum = "0.8.0"
axum-server = { version = "0.7", features = ["tls-rustls-no-provider"] }
tower-http = { version = "0.7.0", features = ["cors", "trace", "fs"] }
hyper = "1.5"
hyper-util = { version = "0.1", features = ["client", "client-legacy", "http1", "http2", "tokio"] }
http = "1.1"
tokio-tungstenite = "0.29"
rustls-pemfile = "2"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.145"
serde_yaml = "0.9"
# Logging & Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "registry"] }
# Security
jsonwebtoken = { version = "10.0.0", features = ["rust_crypto"] }
bcrypt = "0.19"
rsa = { version = "0.9", features = ["sha2"] }
totp-rs = { version = "5.6", features = ["qr", "otpauth"] }
# Utilities
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
dotenvy = "0.15"
anyhow = "1.0"
thiserror = "2.0"
# OpenAPI
utoipa = { version = "5.0", features = ["axum_extras", "uuid", "chrono"] }
utoipa-swagger-ui = { version = "9.0", features = ["axum"] }
# etcd
etcd-client = { version = "0.19", default-features = false, features = ["tls-roots"] }
# PKI
rcgen = { version = "0.14", features = ["pem", "x509-parser"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
ring = "0.17"
x509-parser = "0.18"
# Metrics
prometheus = { version = "0.14", features = ["process"] }
# Rate limiting
tower_governor = { version = "0.8", features = ["axum"] }
# OpenTelemetry
opentelemetry = { version = "0.32" }
opentelemetry_sdk = { version = "0.32", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.32", default-features = false, features = ["grpc-tonic", "trace", "internal-logs"] }
opentelemetry-semantic-conventions = { version = "0.32" }
tracing-opentelemetry = { version = "0.33" }
# Other
rand = "0.10"
x25519-dalek = { version = "2", features = ["static_secrets"] }
aes-gcm = "0.10"
base64 = "0.22"
sha1 = "0.11"
sha2 = "0.11"
cookie = { version = "0.18.1", features = ["percent-encode"] }
qrcode = "0.14"
image = "0.25"
sysinfo = "0.32"
futures-util = "0.3"
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls-no-provider", "webpki-roots"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1