aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index e49a217..90ba496 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,12 +4,16 @@ mod handshake;
mod router;
mod types;
-use sodiumoxide;
+use std::sync::Arc;
-use handshake::Device;
+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();
}