Commit 9a1ee26769

9a1ee2676925904c72b8dbe228ce8a9bbf817c7e

parent: c4e965e941

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2019-12-08 13:14 UTC

executor: Use the upstream git for async-task.

Layout: unified · split

Cargo.toml +6 −6
@@ -10,16 +10,16 @@ name = "matrix"
1010crate-type = ["dylib"]
1111
1212[dependencies]
13libc = "0.2.65"
13libc = "0.2.66"
1414futures = "0.3.1"
1515url = "2.1.0"
1616tokio = "0.2.0-alpha.6"
17async-std = { version = "1.1.0", features = [ "unstable" ] }
17async-std = { version = "1.2.0", features = [ "unstable" ] }
18async-task = { git = "https://github.com/async-rs/async-task/" }
1819pipe-channel = "1.2.2"
1920clap = "2.33.0"
2021
21matrix-nio = { git = "https://github.com/poljar/nio-rust" }
22matrix-nio = { path = "/home/poljar/werk/priv/nio-rust/" }
2223
23weechat = { git = "https://github.com/poljar/rust-weechat" }
24weechat-sys = { git = "https://github.com/poljar/rust-weechat" }
25async-task = { git = "https://github.com/poljar/async-task" }
24weechat = { path = "/home/poljar/werk/misc/rust-weechat/weechat-rs/" }
25weechat-sys = { path = "/home/poljar/werk/misc/rust-weechat/weechat-sys" }
src/executor.rs +1 −1
@@ -89,7 +89,7 @@ where
8989 .expect("Can't notify Weechat to run a future");
9090 };
9191
92 let (task, handle) = async_task::spawn(future, schedule, ());
92 let (task, handle) = async_task::spawn_local(future, schedule, ());
9393 task.schedule();
9494 handle
9595}