mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-27 20:45:30 +00:00
rename ruma_wrapper to router
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
64705fa27d
commit
1c0ed91f6f
|
@ -1,14 +1,15 @@
|
|||
pub mod client;
|
||||
mod router;
|
||||
pub mod routes;
|
||||
mod ruma_wrapper;
|
||||
pub mod server;
|
||||
|
||||
extern crate conduit_core as conduit;
|
||||
extern crate conduit_service as service;
|
||||
|
||||
pub(crate) use conduit::{debug_info, debug_warn, utils, Error, Result};
|
||||
pub(crate) use ruma_wrapper::{Ruma, RumaResponse};
|
||||
pub(crate) use service::{pdu::PduEvent, services, user_is_local};
|
||||
|
||||
pub(crate) use crate::router::{Ruma, RumaResponse};
|
||||
|
||||
conduit::mod_ctor! {}
|
||||
conduit::mod_dtor! {}
|
||||
|
|
|
@ -7,7 +7,7 @@ use conduit::{Error, Server};
|
|||
use http::Uri;
|
||||
use ruma::api::client::error::ErrorKind;
|
||||
|
||||
use crate::{client, ruma_wrapper::RouterExt, server};
|
||||
use crate::{client, router::RouterExt, server};
|
||||
|
||||
pub fn build(router: Router, server: &Server) -> Router {
|
||||
let config = &server.config;
|
||||
|
|
Loading…
Reference in a new issue