aboutsummaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
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;