Serializable request and response types for the Matrix client API.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Damir Jelić 3233c68cfb sync_events: Make all fields in the response optional except next_batch.
As per spec only the next_batch token is required in a sync response.

This patch makes all of them optional and creates default values when
parsing a response. Serialization is skipped for all of them if they are
empty containers.
2020-05-05 14:26:26 +02:00
.builds Fix MSRV in README.md, builds.sr.ht manifest 2020-04-24 19:20:01 +02:00
src sync_events: Make all fields in the response optional except next_batch. 2020-05-05 14:26:26 +02:00
.gitignore ruma-client-api 2016-09-29 06:01:20 -07:00
Cargo.toml Remove dependency on the url crate 2020-05-05 00:16:43 +02:00
CHANGELOG.md Update change log 2020-05-05 00:16:48 +02:00
CONTRIBUTING.md Update example in CONTRIBUTING.md 2020-04-25 09:28:08 +02:00
LICENSE ruma-client-api 2016-09-29 06:01:20 -07:00
README.md Fix MSRV in README.md, builds.sr.ht manifest 2020-04-24 19:20:01 +02:00

ruma-client-api

crates.io page docs.rs page build status license: MIT

ruma-client-api contains serializable types for the requests and responses for each endpoint in the Matrix client API specification. These types can be shared by client and server code.

Minimum Rust version

ruma-client-api requires Rust 1.40.0 or later.

Contributing

See CONTRIBUTING.md.