mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-30 18:34:36 +01:00
re-export Service and Transform traits
This commit is contained in:
parent
4e141d7f5d
commit
7746e785c1
@ -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 New Issue
Block a user