43 lines
1.6 KiB
TOML
43 lines
1.6 KiB
TOML
[package]
|
|
name = "cosmic-weather-applet"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
description = "Weather applet for COSMIC"
|
|
repository = "https://git.lerch.org/lobo/cosmic-weather-applet"
|
|
|
|
[dependencies]
|
|
# For weather refresh timing
|
|
futures-util = "0.3.31"
|
|
tokio = { version = "1.48.0", features = ["full"] }
|
|
|
|
# Localization
|
|
i18n-embed = { version = "0.16", features = [ ] }
|
|
i18n-embed-fl = "0.10"
|
|
rust-embed = "8.8.0"
|
|
|
|
# Web requests for weather
|
|
reqwest = { version = "0.13.1", features = [] }
|
|
|
|
# D-Bus for NetworkManager connectivity monitoring
|
|
zbus = { version = "5", default-features = false, features = ["tokio"] }
|
|
|
|
[dependencies.libcosmic]
|
|
git = "https://github.com/pop-os/libcosmic.git"
|
|
# Pinned rather than tracking the branch, so the resolved revision is explicit.
|
|
#
|
|
# The previous floating dependency had resolved to a January build whose vendored
|
|
# pop-os/iced predated 686c6afb8 ("fix(sctk): popup initial configure ack
|
|
# handling"). Without that fix, creating a popup or tooltip surface could attach a
|
|
# buffer before acknowledging the initial configure, and the compositor killed the
|
|
# applet -- libcosmic#1166.
|
|
#
|
|
# An older revision that merely contains the fix is not practical: libcosmic
|
|
# declares several dependencies (cosmic-text, iced's own tree) as floating git
|
|
# deps with no revision, so an old libcosmic resolves against today's versions of
|
|
# them and fails to compile. There is no committed Cargo.lock in libcosmic to
|
|
# reconstruct a contemporaneous graph from, so tracking a recent revision is the
|
|
# maintainable option.
|
|
rev = "1f8d8786940cc6db59d412153c5a03f69a20375c"
|
|
default-features = false
|
|
features = ["applet", "tokio", "wayland"]
|