Cargo Features

ruma-federation-api has no features set by default.

[dependencies]
ruma-federation-api = { version = "0.10.0", features = ["compat-empty-string-null", "client", "server", "unstable-exhaustive-types", "unstable-msc2448", "unstable-msc3618", "unstable-msc3723", "unstable-msc3843", "unstable-msc4125", "unstable-unspecified"] }
compat-empty-string-null

Allow some mandatory fields in requests / responses to be missing, defaulting them to an empty string in deserialization.

client

Enables httparse and memchr

server

Enables bytes and rand

unstable-exhaustive-types
unstable-msc2448

Affects get_profile_information::Response.blurhash

unstable-msc3618
unstable-msc3723

Affects discovery::get_server_versions

unstable-msc3843

Affects room::report_content

unstable-msc4125

Affects v2::Request.via

unstable-unspecified