1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-06-25 23:20:43 +00:00

Reexports

This commit is contained in:
msrd0 2021-02-03 21:22:46 +00:00
parent 441a42c75e
commit af28e0d916
16 changed files with 50 additions and 34 deletions

View file

@ -4,6 +4,7 @@ extern crate gotham_derive;
use gotham::{
hyper::{HeaderMap, Method},
router::builder::*,
state::State,
test::TestServer
};
use gotham_restful::*;

View file

@ -1,6 +1,6 @@
#[macro_use]
extern crate gotham_restful;
use gotham_restful::State;
use gotham::state::State;
#[derive(Resource)]
#[resource(read_all)]