aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-11-28 23:34:35 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-11-28 23:34:35 -0800
commita699c92cdceb0382d9bfec37724166145a7eb6df (patch)
treed8a83b58cd8a59e912d1e0eafffd05dccdc11554 /src/lib.rs
parent3c2fbe17cc3e8b8a6199e2ad62c23fbbb18487ff (diff)
downloadgeniza-a699c92cdceb0382d9bfec37724166145a7eb6df.tar.gz
geniza-a699c92cdceb0382d9bfec37724166145a7eb6df.zip
WIP on node (synchronization) code
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f0059e6..10139d3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -23,6 +23,7 @@ extern crate log;
extern crate protobuf;
extern crate rand;
extern crate sodiumoxide;
+extern crate bit_field;
#[cfg(test)]
extern crate tempdir;
@@ -52,8 +53,10 @@ mod protocol;
pub use protocol::*;
pub mod network_msgs;
pub mod metadata_msgs;
+mod node;
+pub use node::*;
-
+// Shared functions
use crypto::digest::Digest;
use crypto::blake2b::Blake2b;