Skip to content

Commit

Permalink
Update egui dependencies (#9)
Browse files Browse the repository at this point in the history
This updates `egui` and its related dependencies to the latest version.
  • Loading branch information
CryZe authored Dec 1, 2023
1 parent 0552e6b commit bdb47e3
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 55 deletions.
136 changes: 88 additions & 48 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ edition = "2021"

[dependencies]
atomic = "0.6.0"
byte-unit = "4.0.19"
byte-unit = "5.0.3"
clap = { version = "4.4.6", default-features = false, features = ["derive", "std"] }
eframe = "0.23.0"
egui_dock = "0.8.0"
egui_file = "0.11.0"
egui_plot = "0.23.0"
eframe = "0.24.1"
egui_dock = "0.9.0"
egui_file = "0.12.0"
egui_plot = "0.24.1"
hdrhistogram = { version = "7.5.2", default-features = false }
indexmap = "2.0.0"
livesplit-auto-splitting = { git = "https://github.com/LiveSplit/livesplit-core" }
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ impl egui_dock::TabViewer for TabViewer<'_> {
ui.label("Memory").on_hover_text("The current amount of memory used by the auto splitter (stack, heap, global variables). This excludes the size of the code itself.");
ui.horizontal(|ui| {
ui.label(
byte_unit::Byte::from_bytes(memory_usage as _)
.get_appropriate_unit(true)
byte_unit::Byte::from_u64(memory_usage as _)
.get_appropriate_unit(byte_unit::UnitType::Binary)
.to_string(),
);
if ui.button("Dump").clicked() {
Expand Down

0 comments on commit bdb47e3

Please sign in to comment.