aboutsummaryrefslogblamecommitdiffstats
path: root/src/main.rs
blob: 90ba496805c293af54e409be90cf604accc20b10 (plain) (tree)
1
2
3
4
5
6
7
8
9

                 
              
           

          
                   
 
                

                   


                                                         



                                         
 
#![feature(test)]

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();

    let pref = rdev.add();
}