Update dependencies

This commit is contained in:
Candifloss 2026-08-12 10:48:45 +05:30
parent 0fe4c45b31
commit 11d03652f3
3 changed files with 57 additions and 10 deletions

View File

@ -1,15 +1,15 @@
[package]
name = "alarm_widg"
version = "0.1.0"
version = "0.1.1"
edition = "2024"
[dependencies]
alarm_widg_config = {path = "../alarm_widg_config"}
chrono = "0.4.44"
chrono = "0.4.45"
dirs = "6.0.0"
i-slint-backend-winit = "1.15.1"
slint = "1.15.1"
toml = "1.0.3"
i-slint-backend-winit = "1.17.1"
slint = "1.17.1"
toml = "1.1.4"
[build-dependencies]
slint-build = "1.15.1"
slint-build = "1.17.1"

View File

@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2024"
[dependencies]
chrono = { version = "0.4.44", features = ["serde"] }
chrono = { version = "0.4.45", features = ["serde"] }
dirs = "6.0.0"
serde = { version = "1.0.228", features = ["derive"] }
thiserror = "2.0.18"
toml = "1.0.3"
serde = { version = "1.0.229", features = ["derive"] }
thiserror = "2.0.20"
toml = "1.1.4"

47
extra/alarm-widg.service Normal file
View File

@ -0,0 +1,47 @@
[Unit]
# Human readable name shown by systemd.
Description=CandyWidgets Alarm Widget Scheduler
# Link to the project's documentation or source repository.
Documentation=https://git.candifloss.cc/candifloss/alarm_app.git
[Service]
# The process runs in the foreground and is managed directly by systemd.
Type=simple
# Start the alarm_widg executable.
# systemd resolves this using the user's executable search path.
ExecStart=alarm_widg
# Restart the service automatically when the program exits unexpectedly.
Restart=on-failure
# Wait three seconds before attempting a restart.
RestartSec=3
# Enable Rust backtraces if the application panics.
Environment=RUST_BACKTRACE=1
# Use a consistent identifier for messages from this service in the journal.
SyslogIdentifier=alarm_widg
# Prevent the service from gaining additional privileges.
NoNewPrivileges=true
# Give the service its own private /tmp directory.
PrivateTmp=true
# Make the system filesystem read-only to the service.
ProtectSystem=strict
# Make the user's home directory read-only to the service.
ProtectHome=read-only
# Allow the application to write to its configuration directory.
ReadWritePaths=%h/.config/candywidgets
[Install]
# Start the service automatically when the user's default systemd target starts.
WantedBy=default.target