mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-06-25 23:20:43 +00:00
Reexports
This commit is contained in:
parent
441a42c75e
commit
af28e0d916
16 changed files with 50 additions and 34 deletions
|
@ -4,6 +4,7 @@ extern crate gotham_derive;
|
|||
use gotham::{
|
||||
hyper::{HeaderMap, Method},
|
||||
router::builder::*,
|
||||
state::State,
|
||||
test::TestServer
|
||||
};
|
||||
use gotham_restful::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#[macro_use]
|
||||
extern crate gotham_restful;
|
||||
use gotham_restful::State;
|
||||
use gotham::state::State;
|
||||
|
||||
#[derive(Resource)]
|
||||
#[resource(read_all)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue