Initial first applet

This commit is contained in:
Lucy 2022-02-01 13:24:00 -05:00
parent c555037160
commit a518251f16
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1
4 changed files with 24 additions and 1 deletions

8
Cargo.lock generated
View file

@ -212,6 +212,14 @@ dependencies = [
"cache-padded",
]
[[package]]
name = "cosmic-applet-network"
version = "0.1.0"
dependencies = [
"gtk4",
"zbus",
]
[[package]]
name = "derivative"
version = "2.2.0"

View file

@ -12,7 +12,7 @@ derivative = "2"
enumflags2 = "0.7"
futures = "0.3"
futures-channel = "0.3"
gdk4-x11 = { version = "0.4.2", features = [ "xlib" ] }
gdk4-x11 = { version = "0.4.2", features = ["xlib"] }
gdk4-wayland = { version = "0.4", optional = true }
gtk4 = "0.4"
gobject-sys = "0.15"
@ -27,3 +27,6 @@ zvariant = "3"
[features]
layer-shell = ["gdk4-wayland", "libcosmic/layer-shell"]
[workspace]
members = ["applets/cosmic-applet-network"]

View file

@ -0,0 +1,9 @@
[package]
name = "cosmic-applet-network"
version = "0.1.0"
edition = "2021"
license = "LGPL-3.0-or-later"
[dependencies]
gtk4 = "0.4.6"
zbus = "2.0.1"

View file

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