aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/tests/tests.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2020-05-22 18:01:15 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2020-05-22 18:01:15 +0200
commit16ede0f37da6050d3037cd85eb1055f239cef7b8 (patch)
treeec6172fdd1c2c3d97bedcbcc93bce5cd34049b9b /src/wireguard/router/tests/tests.rs
parentElimited Daemonize dependency (diff)
downloadwireguard-rs-16ede0f37da6050d3037cd85eb1055f239cef7b8.tar.xz
wireguard-rs-16ede0f37da6050d3037cd85eb1055f239cef7b8.zip
Enable wireguard-rs to build on stable.
WireGuard Rust targets the latest nightly compiler, primarily for security and speed reasons. The recommended way to build WireGuard Rust is still with latest nightly.
Diffstat (limited to '')
-rw-r--r--src/wireguard/router/tests/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wireguard/router/tests/tests.rs b/src/wireguard/router/tests/tests.rs
index 6819644..f6205d5 100644
--- a/src/wireguard/router/tests/tests.rs
+++ b/src/wireguard/router/tests/tests.rs
@@ -11,6 +11,7 @@ use rand::Rng;
use super::*;
+#[cfg(feature = "unstable")]
extern crate test;
const SIZE_MSG: usize = 1024;