diff options
Diffstat (limited to 'crates/tor-netdoc/src/lib.rs')
| -rw-r--r-- | crates/tor-netdoc/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/tor-netdoc/src/lib.rs b/crates/tor-netdoc/src/lib.rs index 50af9b967..474379a4e 100644 --- a/crates/tor-netdoc/src/lib.rs +++ b/crates/tor-netdoc/src/lib.rs @@ -38,7 +38,7 @@ #![allow(clippy::result_large_err)] // temporary workaround for arti#587 //! <!-- @@ end lint list maintained by maint/add_warning @@ --> -#[cfg(feature = "onion-service")] +#[cfg(feature = "hs-service")] pub(crate) mod build; #[macro_use] pub(crate) mod parse; @@ -54,8 +54,8 @@ pub use util::batching_split_before; pub use err::{BuildError, Error, ParseErrorKind, Pos}; -#[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 build::NetdocText; /// Alias for the Result type returned by most objects in this module. |
