diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-12-05 23:18:19 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-12-05 23:18:19 -0800 |
commit | f3c0199e4c59e357dccbc289c687155905fc28e4 (patch) | |
tree | cbf9af4dff1e43a791cb03d9a4294f26825b191c /src/lib.rs | |
parent | 5e844aca2081ef6d2e9615eea24b8a9d56f41c19 (diff) | |
download | geniza-f3c0199e4c59e357dccbc289c687155905fc28e4.tar.gz geniza-f3c0199e4c59e357dccbc289c687155905fc28e4.zip |
basic centralized DNS discovery
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,8 @@ extern crate protobuf; extern crate rand; extern crate sodiumoxide; extern crate bit_field; +extern crate resolve; +extern crate data_encoding; #[cfg(test)] extern crate tempdir; @@ -35,6 +37,7 @@ mod errors { error_chain! { foreign_links { Fmt(::std::fmt::Error); Io(::std::io::Error) #[cfg(unix)]; + AddrParseError(::std::net::AddrParseError); Protobuf(::protobuf::ProtobufError); } } } @@ -55,6 +58,8 @@ pub mod network_msgs; pub mod metadata_msgs; mod node; pub use node::*; +mod discovery; +pub use discovery::*; // Shared functions use crypto::digest::Digest; |