From 2e99ca125db4fbfd50738dd30a29c9b61bcd8693 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Thu, 20 Jun 2024 13:06:53 +1200 Subject: [PATCH] Remove unused dependencies (#73) * cargo fmt * Remove unused dependencies --- packages/blitz/Cargo.toml | 8 -------- packages/dioxus-blitz/Cargo.toml | 1 - packages/dioxus-blitz/src/window.rs | 1 - packages/dom/Cargo.toml | 3 --- 4 files changed, 13 deletions(-) diff --git a/packages/blitz/Cargo.toml b/packages/blitz/Cargo.toml index abfab1ef..1d01a462 100644 --- a/packages/blitz/Cargo.toml +++ b/packages/blitz/Cargo.toml @@ -15,10 +15,6 @@ parley = { workspace = true } tokio = { workspace = true, features = ["full"] } vello = { workspace = true } wgpu = { workspace = true } -shipyard = { version = "0.6.2", features = [ - "proc", - "std", -], default-features = false } app_units = "0.7.3" atomic_refcell = { version = "0.1.13", features = ["serde"] } @@ -28,10 +24,6 @@ string_cache = "0.8.7" futures-util = "0.3.29" raw-window-handle = "0.6.0" blitz-dom = { path = "../dom" } -glyphon = "0.5.0" -cosmic-text = "0.11.2" -quadtree_rs = "0.1.3" -askama_escape = "0.10.3" image = "0.25" # futures-util = "0.3.29" diff --git a/packages/dioxus-blitz/Cargo.toml b/packages/dioxus-blitz/Cargo.toml index 0ef49217..93702b22 100644 --- a/packages/dioxus-blitz/Cargo.toml +++ b/packages/dioxus-blitz/Cargo.toml @@ -10,7 +10,6 @@ winit = "0.30.2" muda = { version = "0.11.5", features = ["serde"] } tokio = { workspace = true, features = ["full"] } dioxus = { workspace = true } -dioxus-ssr = { workspace = true } futures-util = "0.3.30" vello = { workspace = true } wgpu = { workspace = true } diff --git a/packages/dioxus-blitz/src/window.rs b/packages/dioxus-blitz/src/window.rs index ad757219..3ee7ab0a 100644 --- a/packages/dioxus-blitz/src/window.rs +++ b/packages/dioxus-blitz/src/window.rs @@ -150,7 +150,6 @@ impl<'a, Doc: DocumentLike> View<'a, Doc> { }, PhysicalKey::Unidentified(_) => {} } - } WindowEvent::Moved(_) => {} WindowEvent::CloseRequested => {} diff --git a/packages/dom/Cargo.toml b/packages/dom/Cargo.toml index 42d13143..f55512f7 100644 --- a/packages/dom/Cargo.toml +++ b/packages/dom/Cargo.toml @@ -20,14 +20,11 @@ atomic_refcell = { version = "0.1.13", features = ["serde"] } fxhash = "0.2.1" html5ever = { workspace = true } string_cache = "0.8.7" -futures-util = "0.3.30" -askama_escape = "0.10.3" html-escape = "0.2.13" url = { version = "2.5.0", features = ["serde"] } data-url = "0.3.1" ureq = "2.9" image = "0.25" -quadtree_rs = "0.1.3" # on wasm use the js feature on getrandom