aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-21 17:34:53 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-21 17:37:52 +0200
commitf35fa7d18d9e0f51bed311355ec1310b1d311ab3 (patch)
treeb42e093f1de42e3d537ef7d55daf9d89b98a10a9 /examples
parentcdff8ae1beab44a22d0eb0eb00c624e49971b6ca (diff)
downloadnetapp-f35fa7d18d9e0f51bed311355ec1310b1d311ab3.tar.gz
netapp-f35fa7d18d9e0f51bed311355ec1310b1d311ab3.zip
Move things around
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)]