summaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 82a4b0c40e24444c32a3372c76daf827c4552507 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#![feature(test)]

mod constants;
mod handshake;
mod router;
mod types;

use std::sync::Arc;

use sodiumoxide;
use types::KeyPair;

fn main() {
    // choose optimal crypto implementations for platform
    sodiumoxide::init().unwrap();

    let mut rdev = router::Device::new(8);

    let pref = rdev.add();
}