Commit b4de9c33b1
b4de9c33b13fa40d22ceac95dca7b82269568723
parent: f9c2d46f19
Unsigned
Damir Jelić <poljar@termina.org.uk> · 2020-02-21 16:03 UTC
Cargo.toml: Bump dependencies and point to the new rust-sdk repo.
Layout: unified · split
Cargo.toml
+7 −7
| @@ -10,16 +10,16 @@ name = "matrix" |
| 10 | crate-type = ["dylib"] |
10 | crate-type = ["dylib"] |
| 11 | |
11 | |
| 12 | [dependencies] |
12 | [dependencies] |
| 13 | libc = "0.2.66" |
13 | libc = "0.2.67" |
| 14 | futures = "0.3.1" |
14 | futures = "0.3.4" |
| 15 | url = "2.1.1" |
15 | url = "2.1.1" |
| 16 | tokio = { version = "0.2.9", features = [ "rt-threaded" ] } |
16 | tokio = { version = "0.2.11", features = [ "rt-threaded" ] } |
| 17 | async-std = { version = "1.4.0", features = [ "unstable" ] } |
17 | async-std = { version = "1.5.0", features = [ "unstable" ] } |
| 18 | async-task = "1.2.1" |
18 | async-task = "1.3.1" |
| 19 | pipe-channel = "1.2.2" |
19 | pipe-channel = "1.3.0" |
| 20 | clap = "2.33.0" |
20 | clap = "2.33.0" |
| 21 | |
21 | |
| 22 | matrix-nio = { git = "https://github.com/poljar/nio-rust" } |
22 | matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk" } |
| 23 | |
23 | |
| 24 | weechat = { git = "https://github.com/poljar/rust-weechat/" } |
24 | weechat = { git = "https://github.com/poljar/rust-weechat/" } |
| 25 | weechat-sys = { git = "https://github.com/poljar/rust-weechat/" } |
25 | weechat-sys = { git = "https://github.com/poljar/rust-weechat/" } |
src/room_buffer.rs
+4 −4
| @@ -1,9 +1,9 @@ |
| 1 | use matrix_nio::events::collections::all::{RoomEvent, StateEvent}; |
1 | use matrix_sdk::events::collections::all::{RoomEvent, StateEvent}; |
| 2 | use matrix_nio::events::room::member::{MemberEvent, MembershipState}; |
2 | use matrix_sdk::events::room::member::{MemberEvent, MembershipState}; |
| 3 | use matrix_nio::events::room::message::{ |
3 | use matrix_sdk::events::room::message::{ |
| 4 | MessageEvent, MessageEventContent, TextMessageEventContent, |
4 | MessageEvent, MessageEventContent, TextMessageEventContent, |
| 5 | }; |
5 | }; |
| 6 | use matrix_nio::Room; |
6 | use matrix_sdk::Room; |
| 7 | use url::Url; |
7 | use url::Url; |
| 8 | |
8 | |
| 9 | use crate::executor::spawn_weechat; |
9 | use crate::executor::spawn_weechat; |
src/server.rs
+2 −2
| @@ -7,9 +7,9 @@ use std::rc::{Rc, Weak}; |
| 7 | use tokio::runtime::Runtime; |
7 | use tokio::runtime::Runtime; |
| 8 | use url::Url; |
8 | use url::Url; |
| 9 | |
9 | |
| 10 | use matrix_nio::api::r0::session::login::Response as LoginResponse; |
10 | use matrix_sdk::api::r0::session::login::Response as LoginResponse; |
| 11 | |
11 | |
| 12 | use matrix_nio::{ |
12 | use matrix_sdk::{ |
| 13 | self, |
13 | self, |
| 14 | events::{ |
14 | events::{ |
| 15 | collections::all::{RoomEvent, StateEvent}, |
15 | collections::all::{RoomEvent, StateEvent}, |