1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 06:54:46 +00:00

re-export gotham

This commit is contained in:
Dominic 2020-04-15 23:20:41 +02:00
parent a493071ff8
commit 63e6eb9b32
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
3 changed files with 10 additions and 9 deletions

View file

@ -108,7 +108,12 @@ extern crate self as gotham_restful;
#[macro_use] extern crate serde;
#[doc(no_inline)]
pub use gotham::hyper::{header::HeaderName, StatusCode};
pub use gotham;
#[doc(no_inline)]
pub use gotham::{
hyper::{header::HeaderName, StatusCode},
state::{FromState, State}
};
#[doc(no_inline)]
pub use mime::Mime;
@ -119,10 +124,6 @@ pub use gotham_restful_derive::*;
pub mod export
{
pub use futures_util::future::FutureExt;
pub use gotham::{
hyper::body::Bytes,
state::{FromState, State}
};
#[cfg(feature = "database")]
pub use gotham_middleware_diesel::Repo;