-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (50 loc) · 1.75 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (50 loc) · 1.75 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
[package]
name = "keylo"
version = "2.1.0"
edition = "2021"
[[bin]]
path = "src/main.rs"
name = "keylo"
[lib]
path = "src/lib.rs"
[dependencies]
anyhow = "1.0"
aes-gcm = { version = "0.10", features = ["std"] }
axum = { version = "0.8" }
axum-extra = { version = "0.12", features = ["typed-header"] }
http = "1.0.0"
oauth2 = "5"
jsonwebtoken = { version = "10.3", features = ["aws_lc_rs"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
base64 = "0.22"
rsa = { version = "0.9", features = ["pem"] }
# Use Rustls because it makes it easier to cross-compile on CI
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
tokio = { version = "1.51", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
dotenvy = "0.15"
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "migrate", "chrono"] }
chrono = "0.4"
uuid = { version = "1.23", features = ["v4"] }
urlencoding = "2.1"
url = "2"
bcrypt = "0.19"
sha2 = "0.10"
hex = "0.4"
http-body-util = "0.1.0"
hyper-util = { version = "0.1", features = ["client", "http1", "client-legacy"] }
mime = "0.3"
tower-http = { version = "0.6", features = ["trace", "cors"] }
redis = { version = "1.2", features = ["tokio-comp"] }
# Force patched version of rustls-webpki to fix RUSTSEC-2026-0104
rustls-webpki = "=0.103.13"
totp-rs = { version = "5.7.2", features = ["gen_secret", "otpauth"] }
[dev-dependencies]
tower = { version = "0.5", features = ["util"] }
axum-test = "19.0.0"
http-body-util = "0.1.0"
hyper-util = { version = "0.1", features = ["client", "http1", "client-legacy"] }
openidconnect = { version = "4.0.1", default-features = false, features = ["reqwest", "rustls-tls"] }