Merge pull request #6 from szymon-jozef/fix/compile-only-on-linux

fix: compile only on linux
This commit is contained in:
Szymon
2026-10-03 21:29:45 +02:00
committed by GitHub

View File

@@ -17,6 +17,9 @@
#![allow(non_snake_case)]
#![warn(missing_docs)]
#[cfg(not(target_os = "linux"))]
compile_error!("Libnotify-rs only supports linux");
/// Basic libnotify rust wrapper
pub mod api;
/// Higher level abstraction over api