-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathCargo.toml
More file actions
127 lines (123 loc) · 3.82 KB
/
Cargo.toml
File metadata and controls
127 lines (123 loc) · 3.82 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
[workspace.package]
edition = "2024"
license-file = "LICENSE.md"
homepage = "https://defguard.net/"
repository = "https://github.com/DefGuard/defguard"
rust-version = "1.85.1"
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.dependencies]
# internal crates
defguard_common = { path = "./crates/defguard_common", version = "1.6.6" }
defguard_core = { path = "./crates/defguard_core", version = "0.0.0" }
defguard_event_logger = { path = "./crates/defguard_event_logger", version = "0.0.0" }
defguard_event_router = { path = "./crates/defguard_event_router", version = "0.0.0" }
defguard_mail = { path = "./crates/defguard_mail", version = "0.0.0" }
defguard_proto = { path = "./crates/defguard_proto", version = "0.0.0" }
defguard_version = { path = "./crates/defguard_version", version = "0.0.0" }
defguard_web_ui = { path = "./crates/defguard_web_ui", version = "0.0.0" }
model_derive = { path = "./crates/model_derive", version = "0.0.0" }
# external dependencies
anyhow = "1.0"
argon2 = { version = "0.5", features = ["std"] }
axum = "0.8"
axum-client-ip = "0.7"
axum-extra = { version = "0.10", features = [
"cookie-private",
"typed-header",
"query",
] }
base32 = "0.5"
base64 = "0.22"
bytes = { version = "1.6", features = ["serde"] }
chrono = { version = "0.4", default-features = false, features = [
"clock",
"serde",
] }
claims = "0.8"
clap = { version = "4.5", features = ["derive", "env"] }
humantime = "2.1"
# match version used by sqlx
ipnetwork = "0.20"
jsonwebkey = { version = "0.3", features = ["pkcs-convert"] }
jsonwebtoken = { version = "10.3", features = ["rust_crypto"] }
ldap3 = { version = "0.12", default-features = false, features = ["tls"] }
lettre = { version = "0.11", features = ["tokio1-native-tls"] }
matches = "0.1"
md4 = "0.10"
openidconnect = { version = "4.0", default-features = false, features = [
"reqwest",
] }
parse_link_header = "0.4"
paste = "1.0"
pgp = { version = "0.19", default-features = false }
prost = "0.14"
pulldown-cmark = "0.13"
# match version used by sqlx
rand = "0.8"
reqwest = { version = "0.12", features = ["json"] }
rsa = "0.9"
rust-ini = "0.21"
semver = { version = "1.0", features = ["serde"] }
secrecy = { version = "0.10", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
# match version from webauthn-rs-core
serde_cbor = { version = "0.13.0", package = "serde_cbor_2" }
serde_json = "1.0"
serde_urlencoded = "0.7"
sha-1 = "0.10"
sha256 = "1.5"
sqlx = { version = "0.8", features = [
"chrono",
"ipnetwork",
"postgres",
"runtime-tokio-native-tls",
"uuid",
] }
ssh-key = "0.6"
struct-patch = "0.10"
strum = { version = "0.27", features = ["derive"] }
strum_macros = "0.27"
tera = "1.20"
thiserror = "2.0"
# match axum-extra -> cookies
time = { version = "0.3", default-features = false }
tokio = { version = "1", features = [
"macros",
"parking_lot",
"rt-multi-thread",
"sync",
"time",
] }
tokio-stream = "0.1"
tokio-util = "0.7"
tonic = { version = "0.14", features = [
"gzip",
"tls-native-roots",
"tls-ring",
] }
tonic-health = "0.14"
tonic-prost = "0.14"
tonic-prost-build = "0.14"
totp-lite = { version = "2.0" }
tower-http = { version = "0.6", features = ["fs", "trace", "set-header"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
trait-variant = "0.1"
uaparser = "0.6"
# openapi
utoipa = { version = "5", features = ["axum_extras", "chrono", "uuid"] }
utoipa-swagger-ui = { version = "9", features = ["axum", "vendored"] }
uuid = { version = "1.9", features = ["v4"] }
webauthn-authenticator-rs = { version = "0.5" }
webauthn-rs = { version = "0.5", features = [
"danger-allow-state-serialisation",
] }
webauthn-rs-proto = "0.5"
x25519-dalek = { version = "2.0", features = ["static_secrets"] }
[profile.release]
codegen-units = 1
panic = "abort"
lto = "thin"
strip = "symbols"