-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (55 loc) · 1.73 KB
/
Cargo.toml
File metadata and controls
61 lines (55 loc) · 1.73 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
[package]
name = "defguard-gateway"
version = "1.6.5"
edition = "2024"
[dependencies]
axum = "0.8"
base64 = "0.22"
clap = { version = "4.5", features = ["derive", "env"] }
defguard_version = { git = "https://github.com/DefGuard/defguard.git", rev = "1441bdedb231d99cdf26641597df03e901ea3e8f" }
defguard_wireguard_rs = "0.9"
env_logger = "0.11"
gethostname = "1.0"
ipnetwork = "0.21"
libc = { version = "0.2", default-features = false }
log = "0.4"
prost = "0.14"
serde = { version = "1.0", features = ["derive"] }
syslog = "7.0"
thiserror = "2.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] }
tokio-stream = { version = "0.1", features = [] }
toml = { version = "1.1", default-features = false, features = [
"parse",
"serde",
] }
tonic = { version = "0.14", default-features = false, features = [
"codegen",
"gzip",
"tls-native-roots",
"tls-ring",
] }
tracing = "0.1"
tonic-prost = "0.14"
tower = "0.5"
[target.'cfg(target_os = "linux")'.dependencies]
nftnl = { git = "https://github.com/DefGuard/nftnl-rs.git", rev = "f30cbf9c0e081aed7d8d8740eabdf07109a70373" }
mnl = "0.3"
[target.'cfg(any(target_os = "freebsd", target_os = "macos", target_os = "netbsd"))'.dependencies]
nix = { version = "0.31", default-features = false, features = ["ioctl"] }
[dev-dependencies]
tokio = { version = "1", features = ["io-std", "io-util"] }
tonic = { version = "0.14", default-features = false, features = [
"codegen",
"router",
"transport",
] }
x25519-dalek = { version = "2.0", features = ["getrandom", "static_secrets"] }
[build-dependencies]
tonic-prost-build = "0.14"
vergen-git2 = { version = "9.1", features = ["build"] }
[profile.release]
codegen-units = 1
panic = "abort"
lto = "thin"
strip = "symbols"