1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-23 13:02:28 +00:00
deprecated-gotham-restful/src/lib.rs

23 lines
398 B
Rust
Raw Normal View History

2019-09-27 16:36:38 +02:00
#[macro_use] extern crate gotham_derive;
#[macro_use] extern crate serde;
2019-09-26 17:24:40 +02:00
pub use hyper::StatusCode;
mod resource;
pub use resource::{
Resource,
2019-09-28 13:38:08 +02:00
ResourceReadAll,
ResourceRead,
ResourceCreate,
ResourceUpdateAll,
2019-09-29 19:19:38 +02:00
ResourceUpdate,
ResourceDeleteAll,
ResourceDelete
2019-09-26 17:24:40 +02:00
};
mod result;
2019-09-27 15:35:02 +02:00
pub use result::{ResourceResult, Success};
2019-09-26 17:24:40 +02:00
mod routing;
2019-09-26 17:42:28 +02:00
pub use routing::{DrawResources, DrawResourceRoutes};