Added Onion3 support to multiaddr (#1354)

This commit is contained in:
Stan Bondi
2020-02-04 14:40:57 +02:00
committed by GitHub
parent 57fd677686
commit 955b60796a
4 changed files with 173 additions and 55 deletions

View File

@ -3,6 +3,7 @@
pub use multihash;
mod protocol;
mod onion_addr;
mod errors;
mod from_url;
@ -26,6 +27,7 @@ use std::{
pub use self::errors::{Result, Error};
pub use self::from_url::{FromUrlErr, from_url, from_url_lossy};
pub use self::protocol::Protocol;
pub use self::onion_addr::Onion3Addr;
static_assertions::const_assert! {
// This check is most certainly overkill right now, but done here