Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (62 loc) · 1.93 KB
/
Copy pathCargo.toml
File metadata and controls
67 lines (62 loc) · 1.93 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
[package]
name = "defguard-gateway"
version = "2.2.0"
edition = "2024"
rust-version = "1.96"
[dependencies]
axum = "0.8"
base64 = "0.23"
chrono = "0.4"
clap = { version = "4.6", features = ["derive", "env"] }
defguard_certs = { git = "https://github.com/DefGuard/defguard.git", rev = "442048165cdd0a084f5d14e7b268fbc7a9332775" }
defguard_grpc_tls = { git = "https://github.com/DefGuard/defguard.git", rev = "442048165cdd0a084f5d14e7b268fbc7a9332775" }
defguard_version = { git = "https://github.com/DefGuard/defguard.git", rev = "442048165cdd0a084f5d14e7b268fbc7a9332775" }
defguard_wireguard_rs = "0.12"
rustls = { version = "0.23", default-features = false, features = ["ring"] }
rustls-pki-types = "1"
rustls-webpki = { version = "0.103", features = ["ring", "std"] }
env_logger = "0.11"
ipnetwork = "0.21"
libc = { version = "0.2", default-features = false }
log = "0.4"
prost = "0.14"
prost-types = "0.14"
serde = { version = "1.0", features = ["derive"] }
syslog = "7.0"
thiserror = "2.0"
tokio = { version = "1", features = ["fs", "macros", "process", "rt-multi-thread", "signal", "sync", "time"] }
tokio-stream = { version = "0.1", features = [] }
toml = { version = "1.0", default-features = false, features = [
"parse",
"serde",
] }
tonic = { version = "0.14", default-features = false, features = [
"codegen",
"gzip",
"router",
"tls-native-roots",
"tls-ring",
] }
tonic-prost = "0.14"
tower = "0.5"
tracing = "0.1"
tracing-subscriber = "0.3"
[target.'cfg(target_os = "linux")'.dependencies]
nftnl = "0.9"
mnl = "0.3"
[dev-dependencies]
tokio = { version = "1", features = ["net"] }
tonic = { version = "0.14", default-features = false, features = [
"codegen",
"router",
"transport",
] }
x25519-dalek = { version = "3.0", features = ["getrandom", "static_secrets"] }
[build-dependencies]
tonic-prost-build = "0.14"
vergen-git2 = "10.0"
[profile.release]
codegen-units = 1
panic = "abort"
lto = "thin"
strip = "symbols"