The `MilliSecondsSinceUnixEpoch::to_system_time()` method returns the `SystemTime` type from the standard library. The `std::time::SystemTime::elapsed()` method sadly panics under WASM. Instead of returning the `SystemTime` from the standard library we're now returning a drop-in replacement of this type coming from the web-time crate.
ruma-common
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.