commit 4ae3a701b8d9661c87514cfc3339542bd3871253
parent 30b55abd72079dee4710e67a5752bc225398da0c
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 11 Feb 2024 13:58:15 -0800
deps: install ehttp loader
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -928,6 +928,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "011213c1c95821080d1ea7a28cb2928f89df4d794a4c5f0ed034958966c58860"
 dependencies = [
  "egui 0.26.1",
+ "ehttp 0.4.0",
  "enum-map",
  "image",
  "log",
@@ -968,6 +969,20 @@ dependencies = [
 ]
 
 [[package]]
+name = "ehttp"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e598cc2bfc28612f26426259ed99a978270e9433d63ae6d2843e30fb0974cd02"
+dependencies = [
+ "document-features",
+ "js-sys",
+ "ureq",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+]
+
+[[package]]
 name = "either"
 version = "1.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2097,7 +2112,7 @@ dependencies = [
  "eframe",
  "egui 0.26.1",
  "egui_extras",
- "ehttp",
+ "ehttp 0.2.0",
  "enostr",
  "env_logger 0.10.2",
  "image",
diff --git a/Cargo.toml b/Cargo.toml
@@ -15,7 +15,7 @@ crate-type = ["lib", "cdylib"]
 egui = "0.26.0"
 eframe = { version = "0.26.0", default-features = false, features = [ "glow", "wgpu", "android-native-activity" ] }
 #eframe = "0.22.0"
-egui_extras = { version = "0.26.0", features = ["image", "svg"] }
+egui_extras = { version = "0.26.0", features = ["all_loaders"] }
 ehttp = "0.2.0"
 image = { version = "0.24", features = ["jpeg", "png", "webp"] }
 log = "0.4.17"