Skip to content

Commit

Permalink
Update to ehttp 0.4 (#3834)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk authored Jan 17, 2024
1 parent 7bde025 commit f01d337
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/egui_demo_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions crates/egui_demo_app/src/apps/http_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
})
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_extras/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit f01d337

Please sign in to comment.