@@ -25,14 +25,13 @@ mod room_info;
2525mod state;
2626mod tags;
2727
28- use crate :: {
29- deserialized_responses:: MemberEvent ,
30- notification_settings:: RoomNotificationMode ,
31- read_receipts:: RoomReadReceipts ,
32- store:: { DynStateStore , Result as StoreResult , StateStoreExt } ,
33- sync:: UnreadNotificationsCount ,
34- Error , MinimalStateEvent ,
28+ #[ cfg( feature = "e2e-encryption" ) ]
29+ use std:: sync:: RwLock as SyncRwLock ;
30+ use std:: {
31+ collections:: { BTreeMap , HashSet } ,
32+ sync:: Arc ,
3533} ;
34+
3635pub use create:: * ;
3736pub use display_name:: { RoomDisplayName , RoomHero } ;
3837pub ( crate ) use display_name:: { RoomSummary , UpdatedRoomDisplayName } ;
@@ -66,16 +65,19 @@ use ruma::{
6665} ;
6766use serde:: { Deserialize , Serialize } ;
6867pub use state:: { RoomState , RoomStateFilter } ;
69- #[ cfg( feature = "e2e-encryption" ) ]
70- use std:: sync:: RwLock as SyncRwLock ;
71- use std:: {
72- collections:: { BTreeMap , HashSet } ,
73- sync:: Arc ,
74- } ;
7568pub ( crate ) use tags:: RoomNotableTags ;
7669use tokio:: sync:: broadcast;
7770use tracing:: { info, instrument, warn} ;
7871
72+ use crate :: {
73+ deserialized_responses:: MemberEvent ,
74+ notification_settings:: RoomNotificationMode ,
75+ read_receipts:: RoomReadReceipts ,
76+ store:: { DynStateStore , Result as StoreResult , StateStoreExt } ,
77+ sync:: UnreadNotificationsCount ,
78+ Error , MinimalStateEvent ,
79+ } ;
80+
7981/// The underlying room data structure collecting state for joined, left and
8082/// invited rooms.
8183#[ derive( Debug , Clone ) ]
0 commit comments