Description: avoid not-in-Debian crate color-backtrace Author: Jonas Smedegaard Last-Update: 2024-08-07 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,6 @@ futures-lite = { version = "2.6.1" } [dev-dependencies] -color-backtrace = "0.7" # wait for MSVR 1.70 to update env_logger = "0.11" maplit = "1.0" cfg-if = "1.0" --- a/examples/at_bus.rs +++ b/examples/at_bus.rs @@ -10,7 +10,6 @@ "RUST_LOG", "simple=trace,zbus=trace,server=trace,notify_rust=trace", ); - color_backtrace::install(); #[cfg(feature = "env_logger")] let _ = env_logger::builder().is_test(true).try_init(); --- a/src/hints/tests.rs +++ b/src/hints/tests.rs @@ -5,10 +5,6 @@ use self::Hint; use super::{Urgency::*, *}; -static _INIT: std::sync::LazyLock<()> = std::sync::LazyLock::new(|| { - color_backtrace::install(); -}); - #[test] fn hint_to_item() { let category = &Hint::Category("test-me".to_owned()); --- a/tests/realworld.rs +++ b/tests/realworld.rs @@ -10,10 +10,6 @@ use notify_rust::Image; use notify_rust::*; - static _INIT: std::sync::LazyLock<()> = std::sync::LazyLock::new(|| { - color_backtrace::install(); - }); - #[test] fn burst() { for msg in &[