aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/basalt.rs3
-rw-r--r--examples/fullmesh.rs1
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/basalt.rs b/examples/basalt.rs
index 318e37c..52fab4b 100644
--- a/examples/basalt.rs
+++ b/examples/basalt.rs
@@ -14,8 +14,9 @@ use sodiumoxide::crypto::sign::ed25519;
use tokio::sync::watch;
use netapp::endpoint::*;
+use netapp::message::*;
use netapp::peering::basalt::*;
-use netapp::proto::*;
+use netapp::send::*;
use netapp::util::parse_peer_addr;
use netapp::{NetApp, NodeID};
diff --git a/examples/fullmesh.rs b/examples/fullmesh.rs
index b068410..4ab8a8a 100644
--- a/examples/fullmesh.rs
+++ b/examples/fullmesh.rs
@@ -10,6 +10,7 @@ use sodiumoxide::crypto::sign::ed25519;
use netapp::peering::fullmesh::*;
use netapp::util::*;
+
use netapp::NetApp;
#[derive(StructOpt, Debug)]