Restrict and fix visibility

This commit is contained in:
Joscha 2022-06-23 21:43:46 +02:00
parent 1df34e9f57
commit ae2c887a3c
3 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,6 @@
pub mod api;
pub mod conn;
pub mod room;
mod api;
mod conn;
mod room;
pub use api::Snowflake;
pub use room::Room;

View file

@ -7,7 +7,8 @@ use std::{fs, thread};
use rusqlite::Connection;
use tokio::sync::{mpsc, oneshot};
use self::euph::{EuphRequest, EuphVault};
use self::euph::EuphRequest;
pub use self::euph::{EuphMsg, EuphVault};
enum Request {
Close(oneshot::Sender<()>),

View file

@ -3,7 +3,7 @@ use chrono::{DateTime, Utc};
use rusqlite::{params, Connection, OptionalExtension};
use tokio::sync::{mpsc, oneshot};
use crate::euph::api::Snowflake;
use crate::euph::Snowflake;
use crate::store::{Msg, MsgStore, Path, Tree};
use super::Request;