aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireguard/router/types.rs')
-rw-r--r--src/wireguard/router/types.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/wireguard/router/types.rs b/src/wireguard/router/types.rs
index ae37a6b..e0cd459 100644
--- a/src/wireguard/router/types.rs
+++ b/src/wireguard/router/types.rs
@@ -1,9 +1,11 @@
-use std::error::Error;
-use std::fmt;
-use std::sync::Arc;
-
use super::KeyPair;
+use alloc::sync::Arc;
+use core::fmt;
+
+// TODO: no_std alternatives
+use std::error::Error;
+
pub trait Opaque: Send + Sync + 'static {}
impl<T> Opaque for T where T: Send + Sync + 'static {}