mirror of https://github.com/rwf2/Rocket.git
Unhide 'http' exports that shouldn't be hidden.
This commit is contained in:
parent
46c441ad8b
commit
4c8bd61c4f
|
@ -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};
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue