From 3c5f9b8e3a1c3d332d7bf0c61d0895e8b609355f Mon Sep 17 00:00:00 2001 From: ardocrat Date: Mon, 17 Jun 2024 14:47:01 +0300 Subject: [PATCH] build: fix warnings --- Cargo.toml | 1 - src/main.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8b2a81b..906e943 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,6 @@ deb_depends = ["libssl-dev", "pkg-config"] [lib] name="grim" -crate_type=["cdylib", "rlib"] [dependencies] log = "0.4" diff --git a/src/main.rs b/src/main.rs index 29b267f..204de9c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -use eframe::icon_data::from_png_bytes; - pub fn main() { #[allow(dead_code)] #[cfg(not(target_os = "android"))] @@ -35,6 +33,7 @@ fn real_main() { use std::sync::Arc; use egui::pos2; + use eframe::icon_data::from_png_bytes; let platform = Desktop::default();