Cargo Features

ruma-identifiers-validation has no features set by default.

[dependencies]
ruma-identifiers-validation = { version = "0.9.3", features = ["compat-arbitrary-length-ids", "compat-key-id", "compat-user-id"] }
compat-arbitrary-length-ids

Allow IDs to exceed 255 bytes.

compat-key-id

Don't validate the version part in key_id::validate.

compat-user-id

Allow some user IDs that are invalid even with the specified historical user ID scheme.