1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-18 06:11:50 +01:00

prepare actix-utils release

This commit is contained in:
Nikolay Kim 2019-03-04 19:45:17 -08:00
parent 8c48bf4de7
commit 700abc997e
2 changed files with 2 additions and 3 deletions

View File

@ -18,8 +18,7 @@ name = "actix_utils"
path = "src/lib.rs"
[dependencies]
#actix-service = "0.3.1"
actix-service = { path="../actix-service" }
actix-service = "0.3.1"
actix-codec = "0.1.0"
bytes = "0.4"
futures = "0.1.24"

View File

@ -224,7 +224,7 @@ mod tests {
let wait_time = Duration::from_millis(150);
let res = actix_rt::System::new("test").block_on(lazy(|| {
let timeout = BlankNewService::<_, _, ()>::default()
let timeout = BlankNewService::<(), (), ()>::default()
.apply(Timeout::new(resolution), || Ok(SleepService(wait_time)));
if let Async::Ready(mut to) = timeout.new_service(&()).poll().unwrap() {
to.call(())