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
somewhere in the dependency tree.default-features = false - client default
- server default
ruma-api has 3 features without comments.