# ruma-federation-api
[](https://crates.io/crates/ruma-federation-api)
[](https://docs.rs/ruma-federation-api/)

**ruma-federation-api** contains serializable types for the requests and responses for each endpoint in the [Matrix](https://matrix.org/) Federation API specification.
These types can be shared by client and server code.