mirror of
https://github.com/actix/actix-web.git
synced 2025-01-30 10:58:08 +00:00
re-export Service and Transform traits
This commit is contained in:
parent
4e141d7f5d
commit
7746e785c1
2 changed files with 2 additions and 1 deletions
|
@ -448,7 +448,7 @@ mod tests {
|
|||
.service(web::resource("/test").to(|| HttpResponse::Ok())),
|
||||
);
|
||||
let req = test::TestRequest::with_uri("/test").to_request();
|
||||
let resp = test::block_on(app.call(req)).unwrap();
|
||||
let _ = test::block_on(app.call(req)).unwrap();
|
||||
}
|
||||
assert!(data.load(Ordering::Relaxed));
|
||||
}
|
||||
|
|
|
@ -151,6 +151,7 @@ pub mod dev {
|
|||
};
|
||||
pub use actix_router::{Path, ResourceDef, ResourcePath, Url};
|
||||
pub use actix_server::Server;
|
||||
pub use actix_service::{Service, Transform};
|
||||
|
||||
pub(crate) fn insert_slash(path: &str) -> String {
|
||||
let mut path = path.to_owned();
|
||||
|
|
Loading…
Reference in a new issue