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:
parent
8c48bf4de7
commit
700abc997e
@ -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"
|
||||
|
@ -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(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user