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.
23 lines
581 B
TOML
23 lines
581 B
TOML
[package]
|
|
name = "cosmic-applet-bluetooth"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[dependencies]
|
|
once_cell = "1.16.0"
|
|
bluer = { version = "0.15", features = ["bluetoothd", "id"] }
|
|
futures-util = "0.3.21"
|
|
libcosmic.workspace = true
|
|
futures = "0.3"
|
|
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"
|
|
rand = "0.8"
|