aboutsummaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-04-27 19:25:11 +0200
committermetamuffin <metamuffin@disroot.org>2025-04-27 19:25:11 +0200
commit11a585b3dbe620dcc8772e713b22f1d9ba80d598 (patch)
tree44f8d97137412aefc79a2425a489c34fa3e5f6c5 /server/src/main.rs
parentd871aa7c5bba49ff55170b5d2dac9cd440ae7170 (diff)
downloadjellything-11a585b3dbe620dcc8772e713b22f1d9ba80d598.tar
jellything-11a585b3dbe620dcc8772e713b22f1d9ba80d598.tar.bz2
jellything-11a585b3dbe620dcc8772e713b22f1d9ba80d598.tar.zst
move files around
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index ced2f02..b583823 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -7,16 +7,22 @@
#![allow(clippy::needless_borrows_for_generic_args)]
#![recursion_limit = "4096"]
-use crate::routes::ui::{account::hash_password, admin::log::enable_logging};
use anyhow::Context;
use database::Database;
use jellybase::{federation::Federation, CONF, SECRETS};
use log::{error, info, warn};
use routes::build_rocket;
use tokio::fs::create_dir_all;
+use ui::{account::hash_password, admin::log::enable_logging};
pub use jellybase::database;
+pub mod api;
+pub mod compat;
+pub mod helper;
+pub mod locale;
+pub mod logic;
pub mod routes;
+pub mod ui;
#[rocket::main]
async fn main() {