diff options
Diffstat (limited to 'crates/tor-cell/src')
| -rw-r--r-- | crates/tor-cell/src/relaycell.rs | 2 | ||||
| -rw-r--r-- | crates/tor-cell/src/relaycell/msg.rs | 24 |
2 files changed, 13 insertions, 13 deletions
diff --git a/crates/tor-cell/src/relaycell.rs b/crates/tor-cell/src/relaycell.rs index d93e8bdf3..5c8859d3c 100644 --- a/crates/tor-cell/src/relaycell.rs +++ b/crates/tor-cell/src/relaycell.rs @@ -10,7 +10,7 @@ use caret::caret_int; use rand::{CryptoRng, Rng}; pub mod extend; -#[cfg(feature = "onion-service")] +#[cfg(feature = "hs-service")] pub mod hs; pub mod msg; pub mod restrict; diff --git a/crates/tor-cell/src/relaycell/msg.rs b/crates/tor-cell/src/relaycell/msg.rs index 1ba5c77ad..92c64c4bf 100644 --- a/crates/tor-cell/src/relaycell/msg.rs +++ b/crates/tor-cell/src/relaycell/msg.rs @@ -17,8 +17,8 @@ use tor_llcrypto::pk::rsa::RsaIdentity; use bitflags::bitflags; -#[cfg(feature = "onion-service")] -#[cfg_attr(docsrs, doc(cfg(feature = "onion-service")))] +#[cfg(feature = "hs-service")] +#[cfg_attr(docsrs, doc(cfg(feature = "hs-service")))] pub use super::hs::{ est_intro::EstablishIntro, EstablishRendezvous, IntroEstablished, Introduce1, Introduce2, IntroduceAck, Rendezvous1, Rendezvous2, RendezvousEstablished, @@ -73,31 +73,31 @@ pub enum AnyRelayMsg : RelayMsg { [feature = "experimental-udp"] Datagram, /// Establish Introduction - [feature = "onion-service"] + [feature = "hs-service"] EstablishIntro, /// Establish Rendezvous - [feature = "onion-service"] + [feature = "hs-service"] EstablishRendezvous, /// Introduce1 (client to introduction point) - [feature = "onion-service"] + [feature = "hs-service"] Introduce1, /// Introduce2 (introduction point to service) - [feature = "onion-service"] + [feature = "hs-service"] Introduce2, /// Rendezvous1 (service to rendezvous point) - [feature = "onion-service"] + [feature = "hs-service"] Rendezvous1, /// Rendezvous2 (rendezvous point to client) - [feature = "onion-service"] + [feature = "hs-service"] Rendezvous2, /// Acknowledgement for EstablishIntro. - [feature = "onion-service"] + [feature = "hs-service"] IntroEstablished, /// Acknowledgment for EstablishRendezvous. - [feature = "onion-service"] + [feature = "hs-service"] RendezvousEstablished, /// Acknowledgement for Introduce1. - [feature = "onion-service"] + [feature = "hs-service"] IntroduceAck, _ => @@ -1213,7 +1213,7 @@ msg_impl_relaymsg!( #[cfg(feature = "experimental-udp")] msg_impl_relaymsg!(ConnectUdp, ConnectedUdp, Datagram); -#[cfg(feature = "onion-service")] +#[cfg(feature = "hs-service")] msg_impl_relaymsg!( EstablishIntro, EstablishRendezvous, |
