File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " defguard_wireguard_rs"
3- version = " 0.9.2 "
3+ version = " 0.9.3 "
44edition = " 2024"
55rust-version = " 1.87"
66description = " A unified multi-platform high-level API for managing WireGuard interfaces"
@@ -44,7 +44,7 @@ wireguard-nt = "0.5"
4444[target .'cfg(target_os = "linux")' .dependencies ]
4545netlink-packet-core = " 0.8"
4646netlink-packet-generic = " 0.4"
47- netlink-packet-route = " 0.28 "
47+ netlink-packet-route = " 0.29 "
4848netlink-packet-utils = " 0.6"
4949netlink-packet-wireguard = " 0.3"
5050netlink-sys = " 0.8"
Original file line number Diff line number Diff line change @@ -39,7 +39,10 @@ use crate::{
3939 wgapi:: { Kernel , WGApi } ,
4040} ;
4141
42- static WIREGUARD_DLL_PATH : & str = "resources-windows/binaries/wireguard.dll" ;
42+ #[ cfg( target_arch = "aarch64" ) ]
43+ const WIREGUARD_DLL_PATH : & str = "resources-windows/binaries/wireguard-arm64.dll" ;
44+ #[ cfg( target_arch = "x86_64" ) ]
45+ const WIREGUARD_DLL_PATH : & str = "resources-windows/binaries/wireguard-amd64.dll" ;
4346// Load wireguard.dll. Unsafe because we are loading an arbitrary dll file.
4447static WIREGUARD_DLL : LazyLock < Mutex < Wireguard > > = LazyLock :: new ( || {
4548 Mutex :: new (
You can’t perform that action at this time.
0 commit comments