From cd729d045bd24ee6f08f1812087400d6a1883634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= <150025636+git-f0x@users.noreply.github.com> Date: Sat, 2 May 2026 18:35:29 +0200 Subject: [PATCH] chore: add rust-toolchain to enforce 1.93 --- rust-toolchain.toml | 3 +++ src/widgets/match_size.rs | 2 +- src/widgets/mod.rs | 2 +- src/widgets/mouse_interaction_wrapper.rs | 2 +- src/widgets/toplevels/mod.rs | 2 +- src/widgets/visibility_wrapper.rs | 2 +- src/widgets/workspace_bar.rs | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..fb5449a --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.93.0" +components = ["clippy", "rustfmt"] diff --git a/src/widgets/match_size.rs b/src/widgets/match_size.rs index d5826bc..c7175b3 100644 --- a/src/widgets/match_size.rs +++ b/src/widgets/match_size.rs @@ -2,7 +2,7 @@ use cosmic::iced::advanced::widget::{Operation, Tree}; use cosmic::iced::advanced::{Clipboard, Layout, Shell, Widget, layout, mouse, renderer}; -use cosmic::iced::event::{self, Event}; +use cosmic::iced::event::Event; use cosmic::iced::{Length, Rectangle, Size}; use std::marker::PhantomData; diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index f9d44ec..0d55896 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -1,6 +1,6 @@ use cosmic::iced::advanced::widget::{Id, Operation, Tree, tree}; use cosmic::iced::advanced::{Clipboard, Layout, Shell, Widget, layout, mouse, overlay, renderer}; -use cosmic::iced::event::{self, Event}; +use cosmic::iced::event::Event; use cosmic::iced::{Length, Rectangle, Size, Vector}; use std::marker::PhantomData; diff --git a/src/widgets/mouse_interaction_wrapper.rs b/src/widgets/mouse_interaction_wrapper.rs index 05239e6..4a64ec7 100644 --- a/src/widgets/mouse_interaction_wrapper.rs +++ b/src/widgets/mouse_interaction_wrapper.rs @@ -1,6 +1,6 @@ use cosmic::iced::advanced::widget::{Id, Operation, Tree, tree}; use cosmic::iced::advanced::{Clipboard, Layout, Shell, Widget, layout, mouse, overlay, renderer}; -use cosmic::iced::event::{self, Event}; +use cosmic::iced::event::Event; use cosmic::iced::{Length, Rectangle, Size, Vector}; use std::marker::PhantomData; diff --git a/src/widgets/toplevels/mod.rs b/src/widgets/toplevels/mod.rs index 2156d7d..ddb6bd0 100644 --- a/src/widgets/toplevels/mod.rs +++ b/src/widgets/toplevels/mod.rs @@ -2,7 +2,7 @@ use cosmic::iced::advanced::layout::flex::Axis; use cosmic::iced::advanced::layout::{self}; use cosmic::iced::advanced::widget::{Operation, Tree}; use cosmic::iced::advanced::{Clipboard, Layout, Shell, Widget, mouse, renderer}; -use cosmic::iced::event::{self, Event}; +use cosmic::iced::event::Event; use cosmic::iced::{Length, Rectangle, Size, Vector}; use std::marker::PhantomData; diff --git a/src/widgets/visibility_wrapper.rs b/src/widgets/visibility_wrapper.rs index dd79774..cbc195e 100644 --- a/src/widgets/visibility_wrapper.rs +++ b/src/widgets/visibility_wrapper.rs @@ -3,7 +3,7 @@ use cosmic::iced::advanced::widget::{Operation, Tree}; use cosmic::iced::advanced::{Clipboard, Layout, Shell, Widget, layout, mouse, renderer}; -use cosmic::iced::event::{self, Event}; +use cosmic::iced::event::Event; use cosmic::iced::{Length, Rectangle, Size}; use std::marker::PhantomData; diff --git a/src/widgets/workspace_bar.rs b/src/widgets/workspace_bar.rs index d6164bb..464ca23 100644 --- a/src/widgets/workspace_bar.rs +++ b/src/widgets/workspace_bar.rs @@ -6,7 +6,7 @@ use cosmic::iced::advanced::layout::{self}; use cosmic::iced::advanced::widget::{Operation, Tree}; use cosmic::iced::advanced::{Clipboard, Layout, Shell, Widget, mouse, renderer}; use cosmic::iced::core::clipboard::DndDestinationRectangles; -use cosmic::iced::event::{self, Event}; +use cosmic::iced::event::Event; use cosmic::iced::{Length, Point, Rectangle, Size}; use std::marker::PhantomData;