Restrict and fix visibility
This commit is contained in:
parent
1df34e9f57
commit
ae2c887a3c
3 changed files with 9 additions and 5 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
pub mod api;
|
mod api;
|
||||||
pub mod conn;
|
mod conn;
|
||||||
pub mod room;
|
mod room;
|
||||||
|
|
||||||
|
pub use api::Snowflake;
|
||||||
|
pub use room::Room;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@ use std::{fs, thread};
|
||||||
use rusqlite::Connection;
|
use rusqlite::Connection;
|
||||||
use tokio::sync::{mpsc, oneshot};
|
use tokio::sync::{mpsc, oneshot};
|
||||||
|
|
||||||
use self::euph::{EuphRequest, EuphVault};
|
use self::euph::EuphRequest;
|
||||||
|
pub use self::euph::{EuphMsg, EuphVault};
|
||||||
|
|
||||||
enum Request {
|
enum Request {
|
||||||
Close(oneshot::Sender<()>),
|
Close(oneshot::Sender<()>),
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ use chrono::{DateTime, Utc};
|
||||||
use rusqlite::{params, Connection, OptionalExtension};
|
use rusqlite::{params, Connection, OptionalExtension};
|
||||||
use tokio::sync::{mpsc, oneshot};
|
use tokio::sync::{mpsc, oneshot};
|
||||||
|
|
||||||
use crate::euph::api::Snowflake;
|
use crate::euph::Snowflake;
|
||||||
use crate::store::{Msg, MsgStore, Path, Tree};
|
use crate::store::{Msg, MsgStore, Path, Tree};
|
||||||
|
|
||||||
use super::Request;
|
use super::Request;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue