From bd8e7c10ac8bb04f807ad588072671ae7d5a4d1e Mon Sep 17 00:00:00 2001 From: Hendrik Sollich Date: Sat, 3 Dec 2022 15:22:29 +0100 Subject: [PATCH] style: tiny bit of manual formatting --- src/lib.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 95751a8d8..83d4de714 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -149,10 +149,13 @@ #[cfg(all(feature = "dbus", unix, not(target_os = "macos")))] extern crate dbus; + #[cfg(target_os = "macos")] extern crate mac_notification_sys; + #[cfg(target_os = "windows")] extern crate winrt_notification; + #[macro_use] #[cfg(all(feature = "images", unix, not(target_os = "macos")))] extern crate lazy_static; @@ -162,23 +165,26 @@ mod hints; mod miniver; mod notification; mod timeout; +pub(crate) mod urgency; #[cfg(target_os = "macos")] mod macos; + #[cfg(target_os = "windows")] mod windows; + #[cfg(all(unix, not(target_os = "macos")))] mod xdg; #[cfg(all(feature = "images", unix, not(target_os = "macos")))] mod image; + #[cfg(all(feature = "server", feature = "dbus", unix, not(target_os = "macos")))] pub mod server; -pub(crate) mod urgency; - #[cfg(target_os = "macos")] pub use mac_notification_sys::{get_bundle_identifier_or_default, set_application}; + #[cfg(target_os = "macos")] pub use macos::NotificationHandle;