diff --git a/actix-utils/Cargo.toml b/actix-utils/Cargo.toml index 6eb09260..23c7361a 100644 --- a/actix-utils/Cargo.toml +++ b/actix-utils/Cargo.toml @@ -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" diff --git a/actix-utils/src/timeout.rs b/actix-utils/src/timeout.rs index 6200c02b..85d69731 100644 --- a/actix-utils/src/timeout.rs +++ b/actix-utils/src/timeout.rs @@ -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(())