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;