summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTimo Kösters <timo@koesters.xyz>2022-10-08 13:03:07 +0200
committerNyaaori <+@nyaaori.cat>2022-10-10 14:02:02 +0200
commit7822a385bbbdc608501a93499b83a3ca89fafb0f (patch)
treedae2f968d226a18687d57c000f702ba25fb424d4 /src/lib.rs
parentd5b4754cf47982c91898bde9a9bb61a8cbf6ab40 (diff)
downloadconduit-7822a385bbbdc608501a93499b83a3ca89fafb0f.zip
cargo fmt
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9c397c0..541b8c8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,15 +13,13 @@ mod database;
mod service;
mod utils;
-use std::{
- sync::{RwLock},
-};
+use std::sync::RwLock;
pub use api::ruma_wrapper::{Ruma, RumaResponse};
pub use config::Config;
+pub use database::KeyValueDatabase;
pub use service::{pdu::PduEvent, Services};
pub use utils::error::{Error, Result};
-pub use database::KeyValueDatabase;
pub static SERVICES: RwLock<Option<&'static Services>> = RwLock::new(None);