Skip to content

Commit

Permalink
Update egui dependencies
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 committed Dec 1, 2023
1 parent 0552e6b commit cf28d22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
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 cf28d22

Please sign in to comment.