Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
systemd: Require Linux for journal module
Yorgos Saslis committed 7 months ago
commit 411bee7e11774f31e3e79f289976007ee6018e93
parent a2959cf6e87505763225bf16b34f04865b0059e2
2 files changed +3 -1
modified crates/radicle-systemd/Cargo.toml
@@ -10,6 +10,8 @@ rust-version.workspace = true

[dependencies]
log = { workspace = true, optional = true }
+

+
[target.'cfg(target_os = "linux")'.dependencies]
systemd-journal-logger = { version = "2.2.2", optional = true }

[features]
modified crates/radicle-systemd/src/lib.rs
@@ -1,6 +1,6 @@
//! Library for interaction with systemd, specialized for Radicle.

-
#[cfg(feature = "journal")]
+
#[cfg(all(feature = "journal", target_os = "linux"))]
pub mod journal;

#[cfg(feature = "listen")]