diff --git a/src/lib.rs b/src/lib.rs index 376d15c9a..e866910fe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -103,8 +103,14 @@ macro_rules! ready { #[cfg_attr(feature = "unstable", allow(missing_docs))] mod codec; mod error; + +#[cfg(not(feature = "unstable"))] mod hpack; +#[cfg(feature = "unstable")] +#[allow(missing_docs)] +pub mod hpack; + #[cfg(not(feature = "unstable"))] mod proto;