aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index f4a7bde..0173eb8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,16 +1,12 @@
-extern crate pretty_env_logger;
-#[macro_use]
-extern crate log;
-
use std::process::exit;
use std::time::Duration;
use actions::Action;
+use anyhow::{bail, Context, Result};
use async_scoped::TokioScope;
use clap::Parser;
use human_panic::setup_panic;
-
-use anyhow::{bail, Context, Result};
+use log::{error, info, warn};
#[cfg(unix)]
use tokio::signal::unix::{signal, SignalKind};
use tokio::time::sleep;