radicle-systemd: Guard `mod listen` for Unix

This crate does not build on Windows, because there is a Unix-only `use`
in `mod listen`. To get the crate to build, guard the module
appropriately.
This commit is contained in:
Lorenz Leutgeb 2025-10-01 20:35:54 +02:00 committed by Fintan Halpenny
parent 0095fdc585
commit 5cd016b587
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@
#[cfg(all(feature = "journal", target_os = "linux"))]
pub mod journal;
#[cfg(feature = "listen")]
#[cfg(all(feature = "listen", unix))]
pub mod listen;