[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"