split RouterExt impl related into ruma_wrapper unit.

slightly restrict client_server mod index.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-05-28 04:52:58 +00:00
parent f1d1366129
commit 5fe5ab279c
5 changed files with 149 additions and 142 deletions

View file

@ -1,11 +1,14 @@
mod auth;
mod request;
mod router;
mod xmatrix;
use std::ops::Deref;
pub(super) use conduit::error::RumaResponse;
use ruma::{CanonicalJsonValue, OwnedDeviceId, OwnedServerName, OwnedUserId};
pub(super) use self::router::RouterExt;
use crate::service::appservice::RegistrationInfo;
/// Extractor for Ruma request structs