aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 60f2214..0fe170d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,11 +5,12 @@ use tracing_subscriber::{EnvFilter, fmt::{self, time::LocalTime}, prelude::*};
5use crate::routes::start::start; 5use crate::routes::start::start;
6 6
7mod auth; 7mod auth;
8mod config;
8mod routes; 9mod routes;
10mod wol;
9 11
10#[tokio::main] 12#[tokio::main]
11async fn main() { 13async fn main() {
12
13 unsafe { local_offset::set_soundness(local_offset::Soundness::Unsound); } 14 unsafe { local_offset::set_soundness(local_offset::Soundness::Unsound); }
14 let time_format = 15 let time_format =
15 time::macros::format_description!("[year]-[month]-[day] [hour]:[minute]:[second]"); 16 time::macros::format_description!("[year]-[month]-[day] [hour]:[minute]:[second]");