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
|
|
@ -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