Cargo Features

[dependencies]
ruma-api = { version = "0.20.1", default-features = false, features = ["client", "server"] }

These feature gates exist only for the tests. Disabling them results in a compile error.

default = client, server

These default features are set whenever ruma-api is added without default-features = false somewhere in the dependency tree.

client default
server default

ruma-api has 3 features without comments.