test: Depend on ruma directly

master
Jonas Platte 2021-06-07 16:26:13 +02:00
parent c964589049
commit c705af1048
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
2 changed files with 7 additions and 7 deletions

View File

@ -11,9 +11,10 @@ repository = "https://github.com/matrix-org/matrix-rust-sdk"
version = "0.2.0" version = "0.2.0"
[dependencies] [dependencies]
serde_json = "1.0.61"
http = "0.2.3" http = "0.2.3"
lazy_static = "1.4.0"
matrix-sdk-common = { version = "0.2.0", path = "../matrix_sdk_common" } matrix-sdk-common = { version = "0.2.0", path = "../matrix_sdk_common" }
matrix-sdk-test-macros = { version = "0.1.0", path = "../matrix_sdk_test_macros" } matrix-sdk-test-macros = { version = "0.1.0", path = "../matrix_sdk_test_macros" }
lazy_static = "1.4.0" ruma = { version = "0.1.2", features = ["client-api-c"] }
serde = "1.0.122" serde = "1.0.122"
serde_json = "1.0.61"

View File

@ -1,16 +1,15 @@
use std::{collections::HashMap, panic}; use std::{collections::HashMap, panic};
use http::Response; use http::Response;
use matrix_sdk_common::{ pub use matrix_sdk_test_macros::async_test;
api::r0::sync::sync_events::Response as SyncResponse, use ruma::{
api::{client::r0::sync::sync_events::Response as SyncResponse, IncomingResponse},
events::{ events::{
presence::PresenceEvent, AnyGlobalAccountDataEvent, AnySyncEphemeralRoomEvent, presence::PresenceEvent, AnyGlobalAccountDataEvent, AnySyncEphemeralRoomEvent,
AnySyncRoomEvent, AnySyncStateEvent, AnySyncRoomEvent, AnySyncStateEvent,
}, },
identifiers::{room_id, RoomId}, room_id, RoomId,
IncomingResponse,
}; };
pub use matrix_sdk_test_macros::async_test;
use serde_json::Value as JsonValue; use serde_json::Value as JsonValue;
pub mod test_json; pub mod test_json;