diff options
Diffstat (limited to 'crates/arti-client')
| -rw-r--r-- | crates/arti-client/src/address.rs | 2 | ||||
| -rw-r--r-- | crates/arti-client/src/client.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/arti-client/src/address.rs b/crates/arti-client/src/address.rs index 095a54250..33712d299 100644 --- a/crates/arti-client/src/address.rs +++ b/crates/arti-client/src/address.rs @@ -227,7 +227,7 @@ enum Host { // TODO hs possibly the contents of this enum should be a String rather than // an OnionId. // - // #[cfg(feature = "onion-client")] + // #[cfg(feature = "hs-client")] // OnionService(OnionId), } diff --git a/crates/arti-client/src/client.rs b/crates/arti-client/src/client.rs index 638f0e358..5e26beede 100644 --- a/crates/arti-client/src/client.rs +++ b/crates/arti-client/src/client.rs @@ -169,7 +169,7 @@ pub struct StreamPrefs { /// Whether to return the stream optimistically. optimistic_stream: bool, /// Whether to try to make connections to onion services. - #[cfg(feature = "onion-client")] + #[cfg(feature = "hs-client")] #[allow(dead_code)] connect_to_onion_services: bool, // TODO hs: this should default to "true". } |
