From 8770e914f64951e9e04d40e4151a58696ebf82b7 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 7 May 2020 20:30:47 +0200 Subject: [PATCH] Update dependencies --- Cargo.toml | 12 ++++++------ src/v1/event/push_events.rs | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4b3b23fd..6aa3f802 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,9 +12,9 @@ version = "0.1.0" edition = "2018" [dependencies] -ruma-api = "0.11.2" -ruma-events = "0.15.1" -ruma-identifiers = "0.14.0" -serde = { version = "1.0.102", features = ["derive"] } -serde_json = "1.0.41" -url = { version = "2.1.0", features = ["serde"] } +ruma-api = "0.16.0" +ruma-events = "0.21.0" +ruma-identifiers = "0.16.1" +serde = { version = "1.0.106", features = ["derive"] } +serde_json = "1.0.52" +url = { version = "2.1.1", features = ["serde"] } diff --git a/src/v1/event/push_events.rs b/src/v1/event/push_events.rs index 131acc57..bef1ec46 100644 --- a/src/v1/event/push_events.rs +++ b/src/v1/event/push_events.rs @@ -1,7 +1,7 @@ //! [PUT /_matrix/app/v1/transactions/{txnId}](https://matrix.org/docs/spec/application_service/r0.1.2#put-matrix-app-v1-transactions-txnid) use ruma_api::ruma_api; -use ruma_events::collections::all; +use ruma_events::{collections::all, EventJson}; ruma_api! { metadata { @@ -21,7 +21,7 @@ ruma_api! { pub txn_id: String, /// A list of events. #[ruma_api(body)] - pub events: Vec, + pub events: Vec>, } response {}