This saves a bit of duplicated boilerplate. Applets seem to work fairly well with this. Though we should see if any other changes to initial window settings are needed in certain applets for the exact behavior we want.
26 lines
792 B
TOML
26 lines
792 B
TOML
[package]
|
|
name = "cosmic-applet-network"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[dependencies]
|
|
cosmic-dbus-networkmanager = { git = "https://github.com/pop-os/dbus-settings-bindings", branch = "main" }
|
|
# cosmic-dbus-networkmanager = { path = "../../../dbus-settings-bindings/networkmanager" }
|
|
futures-util = "0.3.21"
|
|
libcosmic.workspace = true
|
|
cosmic-time.workspace = true
|
|
futures = "0.3"
|
|
zbus = { version = "3.13", default-features = false }
|
|
log = "0.4"
|
|
pretty_env_logger = "0.5"
|
|
itertools = "0.10.3"
|
|
slotmap = "1.0.6"
|
|
tokio = { version = "1.15.0", features = ["full"] }
|
|
anyhow = "1.0"
|
|
# Application i18n
|
|
i18n-embed = { version = "0.13.4", features = ["fluent-system", "desktop-requester"] }
|
|
i18n-embed-fl = "0.6.4"
|
|
rust-embed = "6.3.0"
|
|
rust-embed-utils = "7.5.0"
|
|
|