Update dependencies

This commit is contained in:
Jonas Platte 2020-05-07 20:30:47 +02:00
parent a742ef47df
commit 8770e914f6
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 8 additions and 8 deletions

View File

@ -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"] }

View File

@ -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<all::Event>,
pub events: Vec<EventJson<all::Event>>,
}
response {}