diff --git a/zcash_client_backend/Cargo.toml b/zcash_client_backend/Cargo.toml index fdc99cd12..caecf5041 100644 --- a/zcash_client_backend/Cargo.toml +++ b/zcash_client_backend/Cargo.toml @@ -214,6 +214,14 @@ unstable-serialization = ["dep:byteorder"] ## Exposes the [`data_api::scanning::spanning_tree`] module. unstable-spanning-tree = [] +## Exposes access to the lightwalletd server via TOR +tor-lightwalletd-tonic = [ + "tor", + "lightwalletd-tonic", + "tonic?/tls", + "tonic?/tls-webpki-roots" +] + [lib] bench = false diff --git a/zcash_client_backend/src/tor.rs b/zcash_client_backend/src/tor.rs index a683c5be6..ee1a636f7 100644 --- a/zcash_client_backend/src/tor.rs +++ b/zcash_client_backend/src/tor.rs @@ -6,7 +6,7 @@ use arti_client::{config::TorClientConfigBuilder, TorClient}; use tor_rtcompat::PreferredRuntime; use tracing::debug; -#[cfg(feature = "lightwalletd-tonic")] +#[cfg(feature = "tor-lightwalletd-tonic")] mod grpc; pub mod http;