Move Config out of database module

This commit is contained in:
Jonas Platte 2022-02-03 13:30:04 +01:00
parent ce60fc6859
commit 974c10e739
No known key found for this signature in database
GPG key ID: CC154DE0E30B7C67
4 changed files with 136 additions and 129 deletions

View file

@ -9,6 +9,7 @@
use std::ops::Deref;
mod config;
mod database;
mod error;
mod pdu;
@ -19,7 +20,8 @@ pub mod appservice_server;
pub mod client_server;
pub mod server_server;
pub use database::{Config, Database};
pub use config::Config;
pub use database::Database;
pub use error::{Error, Result};
pub use pdu::PduEvent;
pub use rocket::Config as RocketConfig;