1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 17:46:38 +02:00

move json responder to separate module

This commit is contained in:
Nikolay Kim
2017-12-20 17:51:28 -08:00
parent bf23aa5d4b
commit 33b2be3281
3 changed files with 66 additions and 51 deletions

View File

@@ -94,6 +94,7 @@ mod encoding;
mod httprequest;
mod httpresponse;
mod info;
mod json;
mod route;
mod router;
mod param;
@@ -119,10 +120,11 @@ pub mod pred;
pub mod payload;
pub use error::{Error, Result, ResponseError};
pub use body::{Body, Binary};
pub use json::{Json};
pub use application::Application;
pub use httprequest::HttpRequest;
pub use httpresponse::HttpResponse;
pub use handler::{Reply, Responder, Json, NormalizePath};
pub use handler::{Reply, Responder, NormalizePath};
pub use route::Route;
pub use resource::Resource;
pub use server::HttpServer;