move core::pdu and core::state_res into core::matrix::

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-04-04 03:30:13 +00:00
parent 4e5b87d0cd
commit 532dfd004d
91 changed files with 266 additions and 205 deletions

View File

@@ -1,6 +1,9 @@
use std::borrow::Borrow;
use conduwuit::{PduEvent, Result, StateKey, err, implement};
use conduwuit::{
Result, err, implement,
matrix::{PduEvent, StateKey},
};
use futures::{Stream, StreamExt, TryFutureExt};
use ruma::{EventId, RoomId, events::StateEventType};
use serde::Deserialize;

View File

@@ -1,13 +1,15 @@
use std::{borrow::Borrow, ops::Deref, sync::Arc};
use conduwuit::{
PduEvent, Result, StateKey, at, err, implement, pair_of,
Result, at, err, implement,
matrix::{PduEvent, StateKey},
pair_of,
utils::{
result::FlatOk,
stream::{BroadbandExt, IterStream, ReadyExt, TryIgnore},
},
};
use database::Deserialized;
use conduwuit_database::Deserialized;
use futures::{FutureExt, Stream, StreamExt, TryFutureExt, future::try_join, pin_mut};
use ruma::{
EventId, OwnedEventId, UserId,