mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-06 09:16:29 +00:00
76b4fdceed
This comes from https://github.com/erikjohnston/rust-signed-json/blob/main/src/json.rs. We need to be able to serialise canonical JSON in Rust to be able to calculate event IDs once we port the event class to Rust. We could instead make the above a properly published crate, but feels easier to pull it into Synapse utils.