cosmic-applets/cosmic-applet-time/Cargo.toml
Josh Megnauth 323e8a55b2 fix(time): Update applet timezone on change
Closes: #582

The chrono crate caches the local timezone but doesn't update it. This
makes sense because it'd be inefficient to constantly evaluate the local
timezone.

Instead of using the local timezone, this patch changes the applet to
use a fixed offset internally which is updated if the external timezone
changes.
2024-08-17 13:24:19 +02:00

21 lines
654 B
TOML

[package]
name = "cosmic-applet-time"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0"
[dependencies]
chrono = { version = "0.4.35", features = ["clock"] }
chrono-tz = "0.9"
i18n-embed-fl.workspace = true
i18n-embed.workspace = true
libcosmic.workspace = true
once_cell = "1"
rust-embed.workspace = true
tokio = { version = "1.36.0", features = ["time"] }
tracing-log.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
icu = { version = "1.4.0", features = ["experimental", "compiled_data", "icu_datetime_experimental"]}
zbus.workspace = true
timedate-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings" }