gotham/
prelude.rs

1//! A collection of useful traits and macros that should always be imported.
2
3#[cfg(feature = "derive")]
4pub use gotham_derive::*;
5
6pub use crate::handler::{IntoHandlerFuture, IntoResponse, MapHandlerError, MapHandlerErrorFuture};
7pub use crate::router::builder::{DefineSingleRoute, DrawRoutes};
8pub use crate::state::FromState;