blob: cfaef554cc40ebc7bb40c77f7550a19d6d406c10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[package]
name = "wireguard-go-rs"
description = "Rust bindings to wireguard-go with DAITA support"
edition = "2021"
license.workspace = true
[build-dependencies]
anyhow = "1.0"
[target.'cfg(unix)'.dependencies]
thiserror.workspace = true
log.workspace = true
zeroize = "1.8.1"
[target.'cfg(not(target_os = "windows"))'.dependencies]
# The app does not depend on maybenot-ffi itself, but adds it as a dependency to expose FFI symbols to wireguard-go.
# This is done, instead of using the makefile in wireguard-go to build maybenot-ffi into its archive, to prevent
# name clashes induced by link-time optimization.
# NOTE: the version of maybenot-ffi below must be the same as the version checked into the wireguard-go submodule
maybenot-ffi = "2.0.1"
|