diff options
author | fx <[email protected]> | 2023-10-09 13:07:54 +0200 |
---|---|---|
committer | fx <[email protected]> | 2023-10-09 13:07:54 +0200 |
commit | bc5f721de8996b48550b5069f5592caf2968e822 (patch) | |
tree | fe7bf485cda800d6fff595c0573b9bca4a4c1dd0 /src/main.rs | |
parent | 159cb1b3c940440ebe03e5042c361be563324978 (diff) | |
download | webol-bc5f721de8996b48550b5069f5592caf2968e822.tar webol-bc5f721de8996b48550b5069f5592caf2968e822.tar.gz webol-bc5f721de8996b48550b5069f5592caf2968e822.zip |
added wol func and bad auth
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
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::*}; | |||
5 | use crate::routes::start::start; | 5 | use crate::routes::start::start; |
6 | 6 | ||
7 | mod auth; | 7 | mod auth; |
8 | mod config; | ||
8 | mod routes; | 9 | mod routes; |
10 | mod wol; | ||
9 | 11 | ||
10 | #[tokio::main] | 12 | #[tokio::main] |
11 | async fn main() { | 13 | async 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]"); |