Update dependencies
This commit is contained in:
parent
a742ef47df
commit
8770e914f6
12
Cargo.toml
12
Cargo.toml
@ -12,9 +12,9 @@ version = "0.1.0"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ruma-api = "0.11.2"
|
ruma-api = "0.16.0"
|
||||||
ruma-events = "0.15.1"
|
ruma-events = "0.21.0"
|
||||||
ruma-identifiers = "0.14.0"
|
ruma-identifiers = "0.16.1"
|
||||||
serde = { version = "1.0.102", features = ["derive"] }
|
serde = { version = "1.0.106", features = ["derive"] }
|
||||||
serde_json = "1.0.41"
|
serde_json = "1.0.52"
|
||||||
url = { version = "2.1.0", features = ["serde"] }
|
url = { version = "2.1.1", features = ["serde"] }
|
||||||
|
@ -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)
|
//! [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_api::ruma_api;
|
||||||
use ruma_events::collections::all;
|
use ruma_events::{collections::all, EventJson};
|
||||||
|
|
||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata {
|
metadata {
|
||||||
@ -21,7 +21,7 @@ ruma_api! {
|
|||||||
pub txn_id: String,
|
pub txn_id: String,
|
||||||
/// A list of events.
|
/// A list of events.
|
||||||
#[ruma_api(body)]
|
#[ruma_api(body)]
|
||||||
pub events: Vec<all::Event>,
|
pub events: Vec<EventJson<all::Event>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
response {}
|
response {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user