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"
10crate-type = ["dylib"] 10crate-type = ["dylib"]
11 11
12[dependencies] 12[dependencies]
13libc = "0.2.65" 13libc = "0.2.66"
14futures = "0.3.1" 14futures = "0.3.1"
15url = "2.1.0" 15url = "2.1.0"
16tokio = "0.2.0-alpha.6" 16tokio = "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/" }
18pipe-channel = "1.2.2" 19pipe-channel = "1.2.2"
19clap = "2.33.0" 20clap = "2.33.0"
20 21
21matrix-nio = { git = "https://github.com/poljar/nio-rust" } 22matrix-nio = { path = "/home/poljar/werk/priv/nio-rust/" }
22 23
23weechat = { git = "https://github.com/poljar/rust-weechat" } 24weechat = { path = "/home/poljar/werk/misc/rust-weechat/weechat-rs/" }
24weechat-sys = { git = "https://github.com/poljar/rust-weechat" } 25weechat-sys = { path = "/home/poljar/werk/misc/rust-weechat/weechat-sys" }
25async-task = { git = "https://github.com/poljar/async-task" }
src/executor.rs +1 −1
@@ -89,7 +89,7 @@ where
89 .expect("Can't notify Weechat to run a future"); 89 .expect("Can't notify Weechat to run a future");
90 }; 90 };
91 91
92 let (task, handle) = async_task::spawn(future, schedule, ()); 92 let (task, handle) = async_task::spawn_local(future, schedule, ());
93 task.schedule(); 93 task.schedule();
94 handle 94 handle
95} 95}