1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

Replace all http code in epi/eframe/egui_glium/egui_web with ehttp (#697)

I've extracted all the http request code and turned it
into its own crate at <https://github.com/emilk/ehttp>.

There was never a reason for the HTTP request library to be part of
`eframe`. Much better to have it as its own crate!
This commit is contained in:
Emil Ernerfeldt
2021-09-03 21:04:43 +02:00
committed by GitHub
parent de1a1ba9b2
commit 9598596bdc
22 changed files with 49 additions and 330 deletions

15
Cargo.lock generated
View File

@@ -810,6 +810,7 @@ version = "0.14.0"
dependencies = [
"criterion",
"egui",
"ehttp",
"epi",
"image",
"serde",
@@ -830,7 +831,6 @@ dependencies = [
"ron",
"serde",
"tts",
"ureq",
"webbrowser",
]
@@ -849,6 +849,19 @@ dependencies = [
"web-sys",
]
[[package]]
name = "ehttp"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b078e2305de4c998700ac152b3e7a358d7fbe77e15b3b1cd2c44a8b82176124f"
dependencies = [
"js-sys",
"ureq",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
[[package]]
name = "either"
version = "1.6.1"