diff --git a/easytier/Cargo.toml b/easytier/Cargo.toml index d80ae481..c9556148 100644 --- a/easytier/Cargo.toml +++ b/easytier/Cargo.toml @@ -350,8 +350,8 @@ thunk-rs = { git = "https://github.com/easytier/thunk.git", default-features = f serial_test = "3.0.0" rstest = "0.25.0" futures-util = "0.3.31" -maplit = "1.0.2" tempfile = "3.22.0" +ctor = "0.8.0" [target.'cfg(target_os = "linux")'.dev-dependencies] defguard_wireguard_rs = "0.4.2" diff --git a/easytier/src/common/log.rs b/easytier/src/common/log.rs index 2d0dc067..96524629 100644 --- a/easytier/src/common/log.rs +++ b/easytier/src/common/log.rs @@ -277,6 +277,7 @@ pub mod tests { use super::*; use crate::common::config::{self}; + #[ctor::ctor] pub fn init() { let _ = Registry::default() .with(console_layers(LevelFilter::DEBUG).unwrap())