Add fmt options and move handlers
This commit is contained in:
parent
50bcac2a1b
commit
fdca5b7277
28 changed files with 85 additions and 70 deletions
emgauwa-core/src
|
@ -1,17 +1,17 @@
|
|||
use actix_cors::Cors;
|
||||
use std::collections::HashMap;
|
||||
use std::net::TcpListener;
|
||||
use std::str::FromStr;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use crate::utils::drop_privileges;
|
||||
use actix_cors::Cors;
|
||||
use actix_web::middleware::TrailingSlash;
|
||||
use actix_web::{middleware, web, App, HttpServer};
|
||||
use emgauwa_lib::db::DbController;
|
||||
use emgauwa_lib::handlers;
|
||||
use emgauwa_lib::types::ConnectedControllersType;
|
||||
use emgauwa_lib::utils::init_logging;
|
||||
|
||||
use crate::utils::drop_privileges;
|
||||
|
||||
mod handlers;
|
||||
mod settings;
|
||||
mod utils;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue