Replace env_logger + /var/cache/moonlock file logging with systemd-journal-logger. Logs are now reliably accessible via journalctl --user -u moonlock, fixing invisible errors in the systemd user service context. - Cargo.toml: env_logger → systemd-journal-logger 2.2 - main.rs: setup_logging() uses JournalLog - PKGBUILD: add systemd-libs dependency - power.rs: include unstaged systemctl fixes (ABOUTME, --no-ask-password, output())
28 lines
650 B
TOML
28 lines
650 B
TOML
[package]
|
|
name = "moonlock"
|
|
version = "0.4.2"
|
|
edition = "2024"
|
|
description = "A secure Wayland lockscreen with GTK4, PAM and fingerprint support"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
gtk4 = { version = "0.11", features = ["v4_10"] }
|
|
gtk4-session-lock = { version = "0.4", features = ["v1_1"] }
|
|
glib = "0.22"
|
|
gdk4 = "0.11"
|
|
gdk-pixbuf = "0.22"
|
|
gio = "0.22"
|
|
toml = "0.8"
|
|
serde = { version = "1", features = ["derive"] }
|
|
nix = { version = "0.29", features = ["user"] }
|
|
zeroize = { version = "1", features = ["derive"] }
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
systemd-journal-logger = "2.2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[build-dependencies]
|
|
glib-build-tools = "0.22"
|