From 10b0498a1e642381d9dc28942e83404bd899b7ab Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 24 Feb 2022 09:13:41 -0500 Subject: [PATCH] cleanup dependencies --- Cargo.toml | 3 --- src/lib.rs | 3 --- 2 files changed, 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e365f24..24e5469 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,13 +16,10 @@ lto = true meval = { git = "https://github.com/Titaniumtown/meval-rs.git" } egui = "0.17.0" eframe = "0.17.0" -emath = "0.17.0" -epaint = "0.17.0" instant = { version = "0.1.12", features = ["wasm-bindgen"] } [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.7" tracing-wasm = "0.2.1" wee_alloc = "0.4.5" -web-sys = { version = "0.3.56", features = ["HtmlCanvasElement"] } wasm-bindgen = "0.2.79" diff --git a/src/lib.rs b/src/lib.rs index ad10bf2..c876304 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,9 +5,6 @@ mod chart_manager; mod egui_app; mod misc; -#[cfg(target_arch = "wasm32")] -use eframe::{egui, epi}; - #[cfg(target_arch = "wasm32")] use wasm_bindgen::prelude::*;