Unhide 'http' exports that shouldn't be hidden.

This commit is contained in:
Sergio Benitez 2022-05-08 01:08:22 -05:00
parent 46c441ad8b
commit 4c8bd61c4f
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,8 @@
//! Hyper re-exports.
//! Re-exported hyper HTTP library types.
//!
//! All types that are re-exported from Hyper reside inside of this module.
//! These types will, with certainty, be removed with time, but they reside here
//! while necessary.
pub use hyper::{Method, Error, Body, Uri, Version, Request, Response};
pub use hyper::{body, server, service};

View File

@ -141,7 +141,7 @@ pub mod http {
//! This module exports types that map to HTTP concepts or to the underlying
//! HTTP library when needed.
#[doc(hidden)]
#[doc(inline)]
pub use rocket_http::*;
/// Re-exported hyper HTTP library types.