From cc87545b7dde3c2655a44631ef4ba874c0ecb6f6 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 26 Jan 2023 15:47:23 -0800 Subject: [PATCH] Use `iced_sctk` re-export --- Cargo.lock | 1 - Cargo.toml | 1 - src/main.rs | 10 +++++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 31888cc..0c67cf0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -459,7 +459,6 @@ version = "0.1.0" dependencies = [ "cosmic-client-toolkit", "futures-channel", - "iced_sctk", "libcosmic", "tokio", "zbus", diff --git a/Cargo.toml b/Cargo.toml index 5d59a1e..faf7dc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,6 @@ edition = "2021" [dependencies] cctk = { package = "cosmic-client-toolkit", git = "https://github.com/pop-os/cosmic-protocols" } futures-channel = "0.3.25" -iced_sctk = { git = "https://github.com/pop-os/libcosmic" } libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false, features = ["tokio", "wayland"] } tokio = "1.23.0" zbus = { version = "3.7.0", default-features = false, features = ["tokio"] } diff --git a/src/main.rs b/src/main.rs index 7995fd2..a7c7651 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,11 +24,11 @@ use cosmic::{ }, window::Id as SurfaceId, }, -}; -use iced_sctk::{ - application::SurfaceIdWrapper, - commands::layer_surface::{destroy_layer_surface, get_layer_surface}, - settings::InitialSurface, + iced_sctk::{ + application::SurfaceIdWrapper, + commands::layer_surface::{destroy_layer_surface, get_layer_surface}, + settings::InitialSurface, + }, }; use std::{collections::HashMap, mem, process};