aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs
index 3c59c67..aad8d02 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,14 +7,11 @@ extern crate jemallocator;
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
// mod config;
-mod constants;
-mod handshake;
-mod router;
-mod timers;
-mod types;
+mod platform;
mod wireguard;
-#[cfg(test)]
-mod tests;
+use platform::TunBind;
-fn main() {}
+fn main() {
+ let (readers, writers, mtu) = platform::PlatformTun::create("test").unwrap();
+}