diff options
Diffstat (limited to 'examples/gallery')
-rw-r--r-- | examples/gallery/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/gallery/src/civitai.rs | 2 | ||||
-rw-r--r-- | examples/gallery/src/main.rs | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/gallery/Cargo.toml b/examples/gallery/Cargo.toml index 6e8aba06..5161f368 100644 --- a/examples/gallery/Cargo.toml +++ b/examples/gallery/Cargo.toml @@ -2,7 +2,7 @@ name = "gallery" version = "0.1.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] -edition = "2021" +edition = "2024" publish = false [dependencies] diff --git a/examples/gallery/src/civitai.rs b/examples/gallery/src/civitai.rs index 04589030..b529d619 100644 --- a/examples/gallery/src/civitai.rs +++ b/examples/gallery/src/civitai.rs @@ -1,6 +1,6 @@ use bytes::Bytes; use serde::Deserialize; -use sipper::{sipper, Straw}; +use sipper::{Straw, sipper}; use tokio::task; use std::fmt; diff --git a/examples/gallery/src/main.rs b/examples/gallery/src/main.rs index abafaf2d..caa11016 100644 --- a/examples/gallery/src/main.rs +++ b/examples/gallery/src/main.rs @@ -7,15 +7,15 @@ mod civitai; use crate::civitai::{Error, Id, Image, Rgba, Size}; use iced::animation; -use iced::time::{milliseconds, Instant}; +use iced::time::{Instant, milliseconds}; use iced::widget::{ button, center_x, container, horizontal_space, image, mouse_area, opaque, pop, row, scrollable, stack, }; use iced::window; use iced::{ - color, Animation, ContentFit, Element, Fill, Function, Subscription, Task, - Theme, + Animation, ContentFit, Element, Fill, Function, Subscription, Task, Theme, + color, }; use std::collections::HashMap; |