Emil Ernerfeldt
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
7 additions and
7 deletions
-
Cargo.lock
-
crates/egui_demo_app/Cargo.toml
-
crates/egui_demo_app/src/apps/http_app.rs
-
crates/egui_extras/Cargo.toml
|
|
@ -1333,9 +1333,9 @@ dependencies = [ |
|
|
|
|
|
|
|
[[package]] |
|
|
|
name = "ehttp" |
|
|
|
version = "0.3.1" |
|
|
|
version = "0.4.0" |
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
|
|
|
checksum = "f88f45662356f96afc7d9e2bc9910ad8352ee01417f7c69b8b16a53c8767a75d" |
|
|
|
checksum = "e598cc2bfc28612f26426259ed99a978270e9433d63ae6d2843e30fb0974cd02" |
|
|
|
dependencies = [ |
|
|
|
"document-features", |
|
|
|
"js-sys", |
|
|
|
|
|
@ -60,7 +60,7 @@ puffin_http = { version = "0.15", optional = true } |
|
|
|
|
|
|
|
|
|
|
|
# feature "http": |
|
|
|
ehttp = { version = "0.3.1", optional = true } |
|
|
|
ehttp = { version = "0.4", optional = true } |
|
|
|
image = { version = "0.24", optional = true, default-features = false, features = [ |
|
|
|
"jpeg", |
|
|
|
"png", |
|
|
|
|
|
@ -182,9 +182,9 @@ fn ui_resource(ui: &mut egui::Ui, resource: &Resource) { |
|
|
|
egui::Grid::new("response_headers") |
|
|
|
.spacing(egui::vec2(ui.spacing().item_spacing.x * 2.0, 0.0)) |
|
|
|
.show(ui, |ui| { |
|
|
|
for header in &response.headers { |
|
|
|
ui.label(header.0); |
|
|
|
ui.label(header.1); |
|
|
|
for (k, v) in &response.headers { |
|
|
|
ui.label(k); |
|
|
|
ui.label(v); |
|
|
|
ui.end_row(); |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
@ -95,4 +95,4 @@ syntect = { version = "5", optional = true, default-features = false, features = |
|
|
|
resvg = { version = "0.37", optional = true, default-features = false } |
|
|
|
|
|
|
|
# http feature |
|
|
|
ehttp = { version = "0.3.1", optional = true, default-features = false } |
|
|
|
ehttp = { version = "0.4", optional = true, default-features = false } |
|
|
|