Add Tor feature flag and only run test if enabled

This commit is contained in:
Philipp Hoenisch 2020-10-20 14:33:32 +11:00
parent 5e19949d71
commit 295216a8ee
No known key found for this signature in database
GPG key ID: E5F8E74C672BC666
4 changed files with 77 additions and 64 deletions

View file

@ -49,5 +49,6 @@ pub mod alice;
pub mod bitcoin;
pub mod bob;
pub mod monero;
#[cfg(feature = "tor")]
pub mod tor;
pub mod transport;