It could be used to create invalid room versions like an empty one or one with more than 32 code points.
ruma-identifiers
ruma-identifiers contains types for Matrix identifiers for events, rooms, room aliases, and users.
Minimum Rust version
ruma-identifiers requires Rust 1.36.0 or later.
Documentation
ruma-identifiers has comprehensive documentation available on docs.rs.