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

some fixes for database support

This commit is contained in:
Dominic 2020-01-14 23:16:31 +01:00
parent 73457f2fda
commit 876da721f8
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
2 changed files with 43 additions and 14 deletions

View file

@ -122,8 +122,12 @@ pub use gotham_restful_derive::*;
#[doc(hidden)]
pub mod export
{
pub use futures::future::Future;
pub use gotham::state::FromState;
#[cfg(feature = "database")]
pub use gotham_middleware_diesel::Repo;
#[cfg(feature = "openapi")]
pub use indexmap::IndexMap;
#[cfg(feature = "openapi")]