-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37e7f78
commit bbc11a7
Showing
12 changed files
with
16 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,13 @@ | ||
//! Onion module implements all utilities required to work with onion addresses both version two and three | ||
//! Onion module implements all utilities required to work with onion addresses version three | ||
//! Support for these may be enabled using cargo features. | ||
//! | ||
//! Note: right now it uses openssl for `v2` key generation and serialization | ||
//! If there would be a library mature capable of both RSA 1024 key generation and (de)serialization. | ||
|
||
// #[cfg(all(feature = "v2", feature = "v3"))] | ||
// pub use builder::*; | ||
|
||
#[cfg(any(feature = "v2", feature = "v3"))] | ||
#[cfg(any(feature = "v3"))] | ||
pub use common::*; | ||
#[cfg(feature = "v2")] | ||
pub use v2::*; | ||
#[cfg(feature = "v3")] | ||
pub use v3::*; | ||
|
||
#[cfg(feature = "v2")] | ||
#[deprecated( | ||
since = "0.1.10", | ||
note = "V2 onion services are deprecated by tor and soon will stop working; It will be removed in next release" | ||
)] | ||
mod v2; | ||
|
||
#[cfg(feature = "v3")] | ||
mod v3; | ||
|
||
|
||
/* | ||
#[cfg(all(feature = "v2", feature = "v3"))] | ||
mod builder; | ||
*/ | ||
|
||
#[cfg(any(feature = "v2", feature = "v3"))] | ||
#[cfg(feature = "v3")] | ||
mod common; | ||
|
Oops, something went wrong.