瀏覽代碼

fix: remove unused depds

Jonathan Kelley 3 年之前
父節點
當前提交
3873cd1a60
共有 4 個文件被更改,包括 4 次插入8 次删除
  1. 0 1
      packages/core-macro/Cargo.toml
  2. 1 3
      packages/desktop/Cargo.toml
  3. 1 1
      packages/router/Cargo.toml
  4. 2 3
      packages/web/Cargo.toml

+ 0 - 1
packages/core-macro/Cargo.toml

@@ -15,7 +15,6 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
 proc-macro = true
 
 [dependencies]
-once_cell = "1.8"
 proc-macro-error = "1.0.4"
 proc-macro2 = { version = "1.0.6" }
 quote = "1.0"

+ 1 - 3
packages/desktop/Cargo.toml

@@ -13,12 +13,10 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
 
 [dependencies]
 dioxus-core = { path = "../core", version = "^0.1.9", features = ["serialize"] }
-argh = "0.1.7"
 serde = "1.0.136"
 serde_json = "1.0.79"
 thiserror = "1.0.30"
 log = "0.4.14"
-html-escape = "0.2.9"
 wry = { version = "0.13.1" }
 futures-channel = "0.3.21"
 tokio = { version = "1.16.1", features = [
@@ -27,7 +25,6 @@ tokio = { version = "1.16.1", features = [
     "rt",
     "time",
 ], optional = true, default-features = false }
-dioxus-core-macro = { path = "../core-macro", version = "^0.1.7" }
 dioxus-html = { path = "../html", features = ["serialize"], version = "^0.1.6" }
 webbrowser = "0.5.5"
 mime_guess = "2.0.3"
@@ -47,5 +44,6 @@ ayatana = ["wry/ayatana"]
 
 
 [dev-dependencies]
+dioxus-core-macro = { path = "../core-macro", version = "^0.1.7" }
 dioxus-hooks = { path = "../hooks" }
 # image = "0.24.0" # enable this when generating a new desktop image

+ 1 - 1
packages/router/Cargo.toml

@@ -16,8 +16,8 @@ dioxus-html = { path = "../html", version = "^0.1.6", default-features = false }
 dioxus-core-macro = { path = "../core-macro", version = "^0.1.7" }
 
 serde = "1"
-url = "2.2.2"
 serde_urlencoded = "0.7"
+# url = "2.2.2"
 
 # for wasm
 web-sys = { version = "0.3", features = [

+ 2 - 3
packages/web/Cargo.toml

@@ -15,13 +15,10 @@ dioxus-core = { path = "../core", version = "^0.1.9" }
 dioxus-html = { path = "../html", version = "^0.1.6" }
 js-sys = "0.3.56"
 wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] }
-lazy_static = "1.4.0"
 wasm-bindgen-futures = "0.4.29"
 log = { version = "0.4.14", features = ["release_max_level_off"] }
 fxhash = "0.2.1"
-wasm-logger = "0.2.0"
 console_error_panic_hook = { version = "0.1.7", optional = true }
-wasm-bindgen-test = "0.3.29"
 once_cell = "1.9.0"
 anyhow = "1.0.53"
 gloo-timers = { version = "0.2.3", features = ["futures"] }
@@ -80,3 +77,5 @@ panic_hook = ["console_error_panic_hook"]
 dioxus-core-macro = { path = "../core-macro" }
 wasm-bindgen-test = "0.3.29"
 dioxus-ssr = { path = "../ssr" }
+wasm-logger = "0.2.0"
+