Commit 9a1ee26769
Unsigned
Layout: unified · split
Cargo.toml +6 −6
| @@ -10,16 +10,16 @@ name = "matrix" | ||
| 10 | 10 | crate-type = ["dylib"] |
| 11 | 11 | |
| 12 | 12 | [dependencies] |
| 13 | libc = "0.2.65" | |
| 13 | libc = "0.2.66" | |
| 14 | 14 | futures = "0.3.1" |
| 15 | 15 | url = "2.1.0" |
| 16 | 16 | tokio = "0.2.0-alpha.6" |
| 17 | async-std = { version = "1.1.0", features = [ "unstable" ] } | |
| 17 | async-std = { version = "1.2.0", features = [ "unstable" ] } | |
| 18 | async-task = { git = "https://github.com/async-rs/async-task/" } | |
| 18 | 19 | pipe-channel = "1.2.2" |
| 19 | 20 | clap = "2.33.0" |
| 20 | 21 | |
| 21 | matrix-nio = { git = "https://github.com/poljar/nio-rust" } | |
| 22 | matrix-nio = { path = "/home/poljar/werk/priv/nio-rust/" } | |
| 22 | 23 | |
| 23 | weechat = { git = "https://github.com/poljar/rust-weechat" } | |
| 24 | weechat-sys = { git = "https://github.com/poljar/rust-weechat" } | |
| 25 | async-task = { git = "https://github.com/poljar/async-task" } | |
| 24 | weechat = { path = "/home/poljar/werk/misc/rust-weechat/weechat-rs/" } | |
| 25 | weechat-sys = { path = "/home/poljar/werk/misc/rust-weechat/weechat-sys" } | |
src/executor.rs +1 −1
| @@ -89,7 +89,7 @@ where | ||
| 89 | 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 | 93 | task.schedule(); |
| 94 | 94 | handle |
| 95 | 95 | } |