mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-29 00:07:48 +02:00
add resource map, it allow to check if router has resource and it allows to generate urls for named resources
This commit is contained in:
@@ -6,11 +6,13 @@ mod handler;
|
||||
// mod info;
|
||||
pub mod blocking;
|
||||
mod config;
|
||||
pub mod error;
|
||||
pub mod guard;
|
||||
pub mod middleware;
|
||||
mod request;
|
||||
mod resource;
|
||||
mod responder;
|
||||
mod rmap;
|
||||
mod route;
|
||||
mod scope;
|
||||
mod server;
|
||||
@@ -27,7 +29,7 @@ pub use actix_web_codegen::*;
|
||||
|
||||
// re-export for convenience
|
||||
pub use actix_http::Response as HttpResponse;
|
||||
pub use actix_http::{error, http, Error, HttpMessage, ResponseError, Result};
|
||||
pub use actix_http::{http, Error, HttpMessage, ResponseError, Result};
|
||||
|
||||
pub use crate::app::App;
|
||||
pub use crate::extract::FromRequest;
|
||||
|
Reference in New Issue
Block a user