summaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: aa73fd2b63c2accf968ab1e84c65e42eae90efc6 (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 router = router::Device::new(8);

    let peer = router.new_peer();
}