chore: update dependencies
Also migrates to Rust 2024 edition.
This commit is contained in:
parent
16abcc66e1
commit
983d34ad96
7 changed files with 761 additions and 641 deletions
1362
Cargo.lock
generated
1362
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
20
Cargo.toml
20
Cargo.toml
|
|
@ -1,23 +1,23 @@
|
|||
[package]
|
||||
name = "cosmic-idle"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
keyframe = "1.1.1"
|
||||
wayland-client = "0.31.5"
|
||||
wayland-protocols = { version = "0.32.3", features = ["client", "staging"] }
|
||||
wayland-protocols-wlr = { version = "0.3.3", features = ["client"] }
|
||||
wayland-client = "0.31.11"
|
||||
wayland-protocols = { version = "0.32.9", features = ["client", "staging"] }
|
||||
wayland-protocols-wlr = { version = "0.3.9", features = ["client"] }
|
||||
cosmic-config = { git = "https://github.com/pop-os/libcosmic", features = ["calloop"] }
|
||||
cosmic-idle-config = { path = "./cosmic-idle-config" }
|
||||
cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon" }
|
||||
calloop = { version = "0.14.0", features = ["executor"] }
|
||||
calloop-wayland-source = "0.4.0"
|
||||
log = "0.4.22"
|
||||
env_logger = "0.11.5"
|
||||
calloop = { version = "0.14.3", features = ["executor"] }
|
||||
calloop-wayland-source = "0.4.1"
|
||||
log = "0.4.28"
|
||||
env_logger = "0.11.8"
|
||||
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings" }
|
||||
zbus = "4.0.0"
|
||||
futures-lite = "2.3.0"
|
||||
zbus = "5.12"
|
||||
futures-lite = "2.6.1"
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
[package]
|
||||
name = "cosmic-idle-config"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
cosmic-config = { git = "https://github.com/pop-os/libcosmic" }
|
||||
serde = { version = "1.0.210", features = ["derive"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use cosmic_config::{cosmic_config_derive::CosmicConfigEntry, CosmicConfigEntry};
|
||||
use cosmic_config::{CosmicConfigEntry, cosmic_config_derive::CosmicConfigEntry};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize, Clone, CosmicConfigEntry)]
|
||||
|
|
|
|||
|
|
@ -3,9 +3,8 @@
|
|||
use keyframe::{ease, functions::EaseInOut};
|
||||
use std::time::{Duration, Instant};
|
||||
use wayland_client::{
|
||||
delegate_noop,
|
||||
Connection, Dispatch, QueueHandle, delegate_noop,
|
||||
protocol::{wl_buffer, wl_callback, wl_output, wl_pointer, wl_surface},
|
||||
Connection, Dispatch, QueueHandle,
|
||||
};
|
||||
use wayland_protocols::wp::{
|
||||
single_pixel_buffer::v1::client::wp_single_pixel_buffer_manager_v1,
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
use futures_lite::StreamExt;
|
||||
use std::sync::{
|
||||
atomic::{AtomicU32, Ordering},
|
||||
Arc, Mutex,
|
||||
atomic::{AtomicU32, Ordering},
|
||||
};
|
||||
|
||||
use crate::{Event, EventSender};
|
||||
|
|
|
|||
|
|
@ -1,18 +1,17 @@
|
|||
#![allow(clippy::single_match)]
|
||||
|
||||
use calloop::{channel, timer, EventLoop};
|
||||
use calloop::{EventLoop, channel, timer};
|
||||
use calloop_wayland_source::WaylandSource;
|
||||
use cosmic_config::{calloop::ConfigWatchSource, CosmicConfigEntry};
|
||||
use cosmic_config::{CosmicConfigEntry, calloop::ConfigWatchSource};
|
||||
use cosmic_idle_config::CosmicIdleConfig;
|
||||
use cosmic_settings_config::shortcuts;
|
||||
use futures_lite::stream::StreamExt;
|
||||
use std::{process::Command, time::Duration};
|
||||
use upower_dbus::UPowerProxy;
|
||||
use wayland_client::{
|
||||
delegate_noop,
|
||||
globals::{registry_queue_init, GlobalListContents},
|
||||
Connection, Dispatch, Proxy, QueueHandle, delegate_noop,
|
||||
globals::{GlobalListContents, registry_queue_init},
|
||||
protocol::{wl_compositor, wl_output, wl_registry, wl_seat},
|
||||
Connection, Dispatch, Proxy, QueueHandle,
|
||||
};
|
||||
use wayland_protocols::{
|
||||
ext::idle_notify::v1::client::{ext_idle_notification_v1, ext_idle_notifier_v1},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue