Files
wireguard-rs/src/main.rs
2019-08-22 14:59:15 +02:00

24 lines
358 B
Rust

#![feature(test)]
mod constants;
mod handshake;
mod router;
mod timers;
mod types;
use std::sync::Arc;
use sodiumoxide;
use types::KeyPair;
fn main() {
// choose optimal crypto implementations for platform
sodiumoxide::init().unwrap();
let mut router = router::Device::new(8);
{
let peer = router.new_peer();
}
loop {}
}