diff options
Diffstat (limited to 'aerogramme/src/main.rs')
-rw-r--r-- | aerogramme/src/main.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/aerogramme/src/main.rs b/aerogramme/src/main.rs index 43b4dca..4251520 100644 --- a/aerogramme/src/main.rs +++ b/aerogramme/src/main.rs @@ -1,3 +1,5 @@ +mod server; + use std::io::Read; use std::path::PathBuf; @@ -5,9 +7,9 @@ use anyhow::{bail, Context, Result}; use clap::{Parser, Subcommand}; use nix::{sys::signal, unistd::Pid}; -use aerogramme::config::*; -use aerogramme::login::{static_provider::*, *}; -use aerogramme::server::Server; +use aero_user::config::*; +use aero_user::login::{static_provider::*, *}; +use crate::server::Server; #[derive(Parser, Debug)] #[clap(author, version, about, long_about = None)] @@ -151,7 +153,7 @@ fn tracer() { #[tokio::main] async fn main() -> Result<()> { if std::env::var("RUST_LOG").is_err() { - std::env::set_var("RUST_LOG", "main=info,aerogramme=info,k2v_client=info") + std::env::set_var("RUST_LOG", "info") } // Abort on panic (same behavior as in Go) |