Start work on cosmic-applet-audio

This commit is contained in:
Lucy 2022-03-07 11:15:20 -05:00
parent 5b6242d9d9
commit 31bb22f91b
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1
4 changed files with 31 additions and 3 deletions

16
Cargo.lock generated
View file

@ -233,6 +233,18 @@ dependencies = [
"cache-padded",
]
[[package]]
name = "cosmic-applet-audio"
version = "0.1.0"
dependencies = [
"futures-util",
"gtk4",
"libcosmic-widgets",
"once_cell",
"relm4-macros 0.4.2",
"tokio",
]
[[package]]
name = "cosmic-applet-graphics"
version = "0.1.0"
@ -1151,9 +1163,9 @@ dependencies = [
[[package]]
name = "once_cell"
version = "1.9.0"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5"
checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9"
[[package]]
name = "ordered-stream"

View file

@ -29,4 +29,4 @@ zvariant = "3"
layer-shell = ["gdk4-wayland", "libcosmic/layer-shell"]
[workspace]
members = ["applets/cosmic-applet-graphics", "applets/cosmic-applet-network", "applets/cosmic-applet-power"]
members = ["applets/cosmic-applet-audio", "applets/cosmic-applet-graphics", "applets/cosmic-applet-network", "applets/cosmic-applet-power"]

View file

@ -0,0 +1,13 @@
[package]
name = "cosmic-applet-audio"
version = "0.1.0"
edition = "2021"
license = "LGPL-3.0-or-later"
[dependencies]
futures-util = "0.3.21"
gtk4 = "0.4.6"
once_cell = "1.10.0"
relm4-macros = "0.4.2"
tokio = { version = "1.17.0", features = ["full"] }
libcosmic-widgets = { git = "https://github.com/pop-os/libcosmic", branch = "lucy/widgets" }

View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}