ruwuma/crates/ruma-common
Kévin Commaille ae3897cad8 identifiers: Allow to validate KeyId with any key name type
Use new trait bounds for KeyId to only allow specific types.
Change the KeyId validation to be generic over the key name type.
Remove the KeyName type and replace it with the more specific
ServerSigningKeyVersion.
2024-11-08 12:49:53 -05:00
..

ruma-common

crates.io page docs.rs page license: MIT

Common types for other Ruma crates.

The feature-gated modules are defined as follow:

api module

Behind the api feature, core types used to define the requests and responses for each endpoint in the various Matrix API specifications. These types can be shared by client and server code for all Matrix APIs.

events module

Behind the events feature, serializable types for the events in the Matrix specification that can be shared by client and server code.