Update dependencies, and use workspace dependencies
Using `[workspace.dependencies]`, we can update `rev =` for a dependency in one place, instead of each individual applet.
This commit is contained in:
parent
322e13c80d
commit
294cf6f3a7
16 changed files with 370 additions and 280 deletions
|
|
@ -5,10 +5,10 @@ authors = ["Ashley Wulber <ashley@system76.com>"]
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
libcosmic = { git = "https://github.com/pop-os/libcosmic/", default-features = false, features = ["tokio", "wayland"] }
|
||||
libcosmic.workspace = true
|
||||
cosmic-applet = { path = "../applet" }
|
||||
cosmic-client-toolkit = { git = "https://github.com/pop-os/cosmic-protocols", default-features = false, rev = "f0cfe09" }
|
||||
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols", default-features = false, features = ["client"], rev = "f0cfe09" }
|
||||
cctk.workspace = true
|
||||
cosmic-protocols.workspace = true
|
||||
wayland-backend = {version = "0.1.0", features = ["client_system"]}
|
||||
wayland-client = {version = "0.30.0"}
|
||||
calloop = "0.10.1"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use calloop::channel::*;
|
||||
use cosmic_client_toolkit::{
|
||||
use cctk::{
|
||||
sctk::{
|
||||
self,
|
||||
output::{OutputHandler, OutputState},
|
||||
|
|
@ -273,6 +273,6 @@ impl WorkspaceHandler for State {
|
|||
}
|
||||
}
|
||||
|
||||
cosmic_client_toolkit::delegate_workspace!(State);
|
||||
cctk::delegate_workspace!(State);
|
||||
sctk::delegate_output!(State);
|
||||
sctk::delegate_registry!(State);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue