-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
109 lines (96 loc) · 2.57 KB
/
Cargo.toml
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
[package]
name = "cdsctf"
version = "0.0.1"
edition = "2021"
description = "The CdsCTF project is an open-source, high-performance, Jeopardy-style's CTF platform."
[dependencies]
# Async
async-trait = { version = "0.1" }
tokio = { version = "1.41", features = ["full"] }
tokio-util = { version = "0.7.12" }
futures = { version = "^0.3" }
futures-util = { version = "^0.3" }
tower = { version = "0.5" }
tower-http = { version = "0.6", features = ["cors", "fs", "trace"] }
# Web
axum = { version = "0.7", features = [
"ws",
"http2",
"multipart",
"macros",
"tower-log",
"tracing",
"json",
] }
rust-embed = { version = "8.5" }
mime = { version = "0.3" }
mime_guess = { version = "2.0" }
wsrx = { version = "0.2", features = ["server"] }
cookie = { version = "0.18.1" }
# Security
rustls = { version = "0.23", features = ["ring"] }
ring = { version = "0.17" }
jsonwebtoken = { version = "9.3.0" }
argon2 = { version = "0.5" }
# Data Handling
uuid = { version = "1.11", features = ["v4", "fast-rng", "macro-diagnostics"] }
regex = { version = "1.11" }
chrono = { version = "0.4" }
toml = { version = "0.8" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
serde_repr = { version = "0.1" }
# Error Handling
thiserror = { version = "2.0" }
anyhow = { version = "1.0" }
# Tracing
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = [
"env-filter",
"std",
"json",
] }
tracing-appender = "0.2"
tracing-error = { version = "0.2" }
# Database
sea-orm = { version = "1.1", features = [
"sqlx-postgres",
"debug-print",
"with-uuid",
"macros",
"with-json",
"runtime-tokio-rustls",
] }
# Message Queue
async-nats = { version = "0.38" }
# Cache
fred = { version = "10.0", features = [
"enable-rustls-ring",
"dns",
"mocks",
"monitor",
"partial-tracing",
"sentinel-client",
"serde-json",
] }
# Containerization & Orchestration
kube = { version = "0.97", features = ["client", "config", "runtime", "derive", "rustls-tls", "ws"] }
k8s-openapi = { version = "0.23", features = ["latest"] }
# Miscellaneous
once_cell = { version = "1.20" }
prometheus = { version = "0.13" }
validator = { version = "0.19", features = ["derive"] }
reqwest = { version = "0.12", features = [
"json",
"rustls-tls",
], default-features = false }
sysinfo = { version = "0.32.1" }
tempfile = { version = "3.14.0" }
image = { version = "0.25.5" }
webp = { version = "0.3.0", features = ["image"] }
hex = "0.4.3"
[build-dependencies]
chrono = { version = "0.4" }
[[bin]]
name = "cdsctf"
path = "src/main.rs"