aboutsummaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-04-29 17:06:23 +0200
committermetamuffin <metamuffin@disroot.org>2025-04-29 17:06:23 +0200
commit212a0f23bc894faf88e159560c113f504349cc05 (patch)
treeee2ff0ff3b185d1874eb0e8fc4b75f1badf659b8 /server/src/main.rs
parentf73aa32549743b2967160d38c1622199c41524a4 (diff)
downloadjellything-212a0f23bc894faf88e159560c113f504349cc05.tar
jellything-212a0f23bc894faf88e159560c113f504349cc05.tar.bz2
jellything-212a0f23bc894faf88e159560c113f504349cc05.tar.zst
comiles again but still many logic holes
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 6634143..94a53c7 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -3,18 +3,17 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2025 metamuffin <metamuffin.org>
*/
-#![feature(int_roundings, let_chains, str_as_str)]
+#![feature(int_roundings, let_chains, str_as_str, duration_constructors)]
#![allow(clippy::needless_borrows_for_generic_args)]
#![recursion_limit = "4096"]
use anyhow::Context;
use database::Database;
use jellybase::{federation::Federation, CONF, SECRETS};
-use jellylogic::admin::log::enable_logging;
+use jellylogic::{admin::log::enable_logging, login::hash_password};
use log::{error, info, warn};
use routes::build_rocket;
use tokio::fs::create_dir_all;
-use ui::account::hash_password;
pub use jellybase::database;
pub mod api;