mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
initial commit
This commit is contained in:
commit
4a7aa6eef5
8 changed files with 1957 additions and 0 deletions
18
src/lib.rs
Normal file
18
src/lib.rs
Normal file
|
@ -0,0 +1,18 @@
|
|||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
pub use hyper::StatusCode;
|
||||
|
||||
mod resource;
|
||||
pub use resource::{
|
||||
Resource,
|
||||
IndexResource,
|
||||
GetResource,
|
||||
PostResource
|
||||
};
|
||||
|
||||
mod result;
|
||||
pub use result::ResourceResult;
|
||||
|
||||
mod routing;
|
||||
pub use routing::ResourceRouter;
|
Loading…
Add table
Add a link
Reference in a new issue