chore: update dependencies (#211)

* chore: update dependencies

* release: 1.2.3

* chore(deb): update changelog to 1.2.3
This commit is contained in:
Michael Murphy 2024-05-02 19:03:05 +02:00 committed by GitHub
parent a7fc5bcb86
commit 279ff96861
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 1033 additions and 1104 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "pop-launcher-plugins"
version = "1.2.2"
version = "1.2.3"
license = "GPL-3.0-only"
authors = ["Michael Aaron Murphy <mmstick@pm.me>"]
edition = "2018"
@ -8,42 +8,44 @@ publish = false
[dependencies]
async-pidfd = "0.1.4"
fork = "0.1.20"
freedesktop-desktop-entry = "0.5.0"
human_format = "1.0.3"
fork = "0.1.23"
freedesktop-desktop-entry = "0.5.2"
human_format = "1.1.0"
human-sort = "0.2.2"
new_mime_guess = "4.0.1"
pop-launcher = { path = "../" }
regex = "1.6.0"
ron = "0.8.0"
serde = "1.0.147"
serde_json = "1.0.87"
slab = "0.4.7"
strsim = "0.10.0"
tracing = "0.1.37"
urlencoding = "2.1.2"
zbus = "3.14.0"
zvariant = "3.7.1"
regex = "1.10.4"
ron = "0.8.1"
serde = "1.0.198"
serde_json = "1.0.116"
slab = "0.4.9"
strsim = "0.11.1"
tracing = "0.1.40"
urlencoding = "2.1.3"
zbus = "3.15.2"
zvariant = "3.15.2"
ward = "2.1.0"
url = "2.3.1"
url = "2.5.0"
sysfs-class = "0.1.3"
anyhow = "1.0.66"
flume = "0.10.14"
dirs = "4.0.0"
futures = "0.3.25"
bytes = "1.2.1"
anyhow = "1.0.82"
flume = "0.11.0"
dirs = "5.0.1"
futures = "0.3.30"
bytes = "1.6.0"
recently-used-xbel = "1.0.0"
# dependencies cosmic toplevel
cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit" }
sctk = { package = "smithay-client-toolkit", git = "https://github.com/smithay/client-toolkit", rev = "3bed072", features = ["calloop"] }
# dependencies desktop entries
switcheroo-control = { git = "https://github.com/pop-os/dbus-settings-bindings" }
[dependencies.reqwest]
version = "0.11.12"
version = "0.12.3"
default-features = false
features = ["rustls-tls"]
[dependencies.tokio]
version = "1.21.2"
version = "1.37.0"
features = ["fs", "io-std", "macros", "process", "rt"]

View file

@ -1,15 +1,17 @@
use cctk::{
cosmic_protocols,
sctk::{
self,
event_loop::WaylandSource,
reexports::{calloop, client::protocol::wl_seat::WlSeat},
seat::{SeatHandler, SeatState},
},
toplevel_info::{ToplevelInfo, ToplevelInfoHandler, ToplevelInfoState},
toplevel_management::{ToplevelManagerHandler, ToplevelManagerState},
wayland_client::{self, protocol::wl_output::WlOutput, WEnum},
};
use sctk::{
self,
reexports::{
calloop, calloop_wayland_source::WaylandSource, client::protocol::wl_seat::WlSeat,
},
seat::{SeatHandler, SeatState},
};
use cosmic_protocols::{
toplevel_info::v1::client::zcosmic_toplevel_handle_v1::{self, ZcosmicToplevelHandleV1},
toplevel_management::v1::client::zcosmic_toplevel_manager_v1,
@ -152,7 +154,7 @@ pub(crate) fn toplevel_handler(
let (globals, event_queue) = registry_queue_init(&conn)?;
let mut event_loop = calloop::EventLoop::<AppData>::try_new()?;
let qh = event_queue.handle();
let wayland_source = WaylandSource::new(event_queue)?;
let wayland_source = WaylandSource::new(conn, event_queue);
let handle = event_loop.handle();
handle.insert_source(wayland_source, |_, q, state| q.dispatch_pending(state))?;