|
1 | 1 | [package]
|
2 | 2 | name = "defguard-gateway"
|
3 |
| -version = "1.3.0" |
| 3 | +version = "1.3.1" |
4 | 4 | edition = "2021"
|
5 | 5 |
|
6 | 6 | [dependencies]
|
7 | 7 | axum = { version = "0.8", features = ["macros"] }
|
8 | 8 | base64 = "0.22"
|
9 | 9 | clap = { version = "4.5", features = ["derive", "env"] }
|
10 |
| -defguard_wireguard_rs = { git = "https://github.com/DefGuard/wireguard-rs.git", rev = "v0.7.2" } |
| 10 | +defguard_wireguard_rs = { git = "https://github.com/DefGuard/wireguard-rs.git", rev = "v0.7.3" } |
11 | 11 | env_logger = "0.11"
|
12 | 12 | gethostname = "1.0"
|
13 | 13 | ipnetwork = "0.21"
|
| 14 | +libc = { version = "0.2", default-features = false } |
14 | 15 | log = "0.4"
|
15 | 16 | prost = "0.13"
|
16 | 17 | serde = { version = "1.0", features = ["derive"] }
|
17 | 18 | syslog = "7.0"
|
18 | 19 | thiserror = "2.0"
|
19 |
| -tonic = { version = "0.12", features = ["gzip", "tls", "tls-native-roots"] } |
20 |
| -tokio = { version = "1", features = ["macros", "rt-multi-thread"] } |
| 20 | +tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] } |
21 | 21 | tokio-stream = { version = "0.1", features = [] }
|
22 | 22 | toml = { version = "0.8", default-features = false, features = ["parse"] }
|
| 23 | +tonic = { version = "0.12", default-features = false, features = [ |
| 24 | + "codegen", |
| 25 | + "gzip", |
| 26 | + "prost", |
| 27 | + "tls-native-roots", |
| 28 | +] } |
23 | 29 |
|
24 | 30 | [target.'cfg(target_os = "linux")'.dependencies]
|
25 | 31 | nftnl = { git = "https://github.com/DefGuard/nftnl-rs.git", rev = "1a1147271f43b9d7182a114bb056a5224c35d38f" }
|
26 | 32 | mnl = "0.2"
|
27 | 33 |
|
| 34 | +[target.'cfg(any(target_os = "freebsd", target_os = "macos", target_os = "netbsd"))'.dependencies] |
| 35 | +nix = { version = "0.30", default-features = false, features = ["ioctl"] } |
| 36 | + |
28 | 37 | [dev-dependencies]
|
29 | 38 | tokio = { version = "1", features = ["io-std", "io-util"] }
|
| 39 | +tonic = { version = "0.12", default-features = false, features = [ |
| 40 | + "codegen", |
| 41 | + "prost", |
| 42 | + "transport", |
| 43 | +] } |
30 | 44 | x25519-dalek = { version = "2.0", features = ["getrandom", "static_secrets"] }
|
31 | 45 |
|
32 | 46 | [build-dependencies]
|
33 |
| -prost-build = { version = "0.13" } |
34 | 47 | tonic-build = { version = "0.12" }
|
35 | 48 | vergen-git2 = { version = "1.0", features = ["build"] }
|
36 | 49 |
|
|
0 commit comments