add MutexMap to utils

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-14 21:11:31 +00:00
parent d4775f0763
commit 8b68d6306c
2 changed files with 58 additions and 0 deletions

View file

@ -4,6 +4,7 @@ pub mod defer;
pub mod hash;
pub mod html;
pub mod json;
pub mod mutex_map;
pub mod sys;
use std::{
@ -14,6 +15,7 @@ use std::{
pub use debug::slice_truncated as debug_slice_truncated;
pub use html::Escape as HtmlEscape;
pub use json::{deserialize_from_str, to_canonical_object};
pub use mutex_map::MutexMap;
use rand::prelude::*;
use ring::digest;
use ruma::OwnedUserId;