ruwuma/ruma-client-api
Jonas Platte a3e5d679a1
Revert making identifier types generic over the underlying string type
At the same time, this commit makes `ServerName` a newtype around str so
other identifier types can borrow out their server name part as a
`&ServerName`. This technique works for `ServerName` because it keeps no
additional metadata. For the other identifier types to support being
created in borrowed form from a string slice, custom DSTs first have to
be added to Rust.
2020-07-14 23:02:51 +02:00
..
2020-06-19 22:53:07 +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.