Skip to content

Commit 880c63f

Browse files
committed
Fix imports
1 parent 1a7bf35 commit 880c63f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

common/wireguard/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,15 @@
66
// #![warn(clippy::expect_used)]
77
// #![warn(clippy::unwrap_used)]
88

9-
use defguard_wireguard_rs::{WGApi, WireguardInterfaceApi};
9+
use defguard_wireguard_rs::{host::Peer, key::Key, net::IpAddrMask, WGApi, WireguardInterfaceApi};
1010
use nym_crypto::asymmetric::x25519::KeyPair;
1111
#[cfg(target_os = "linux")]
1212
use nym_gateway_storage::GatewayStorage;
13-
#[cfg(target_os = "linux")]
1413
use nym_wireguard_types::Config;
1514
use peer_controller::PeerControlRequest;
1615
use std::sync::Arc;
1716
use tokio::sync::mpsc::{self, Receiver, Sender};
1817

19-
#[cfg(target_os = "linux")]
20-
use defguard_wireguard_rs::{host::Peer, key::Key, net::IpAddrMask};
21-
2218
#[cfg(target_os = "linux")]
2319
use nym_network_defaults::constants::WG_TUN_BASE_NAME;
2420

0 commit comments

Comments
 (0)