Skip to content

Commit 3e8d28a

Browse files
committed
update egui and eframe to 0.32
update rust edition to 2024 update msrv to 1.85
1 parent e5693b2 commit 3e8d28a

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name = "egui_json_tree"
33
version = "0.11.0"
44
authors = ["Duncan MacKinnon <[email protected]>"]
5-
edition = "2021"
5+
edition = "2024"
6+
rust-version = "1.85"
67
description = "An interactive JSON tree visualiser for egui, with search and highlight functionality."
78
repository = "https://github.com/dmackdev/egui_json_tree"
89
license = "MIT OR Apache-2.0"
@@ -11,12 +12,12 @@ categories = ["gui", "visualization"]
1112
include = ["src/*.rs", "LICENSE-MIT", "LICENSE-APACHE", "Cargo.toml"]
1213

1314
[dependencies]
14-
egui = { version = "0.31", default-features = false }
15+
egui = { version = "0.32", default-features = false }
1516
serde_json = { version = "1", optional = true }
1617
simd-json = { version = "0.13", optional = true }
1718

1819
[dev-dependencies]
19-
eframe = "0.31"
20+
eframe = "0.32"
2021

2122
[features]
2223
default = ["serde_json"]

examples/demo/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
name = "demo"
33
version = "0.1.0"
44
authors = ["Duncan MacKinnon <[email protected]>"]
5-
edition = "2021"
5+
edition = "2024"
6+
rust-version = "1.85"
67
license = "MIT OR Apache-2.0"
78
publish = false
89

910
[dependencies]
10-
eframe = "0.31"
11-
egui = { version = "0.31", default-features = false }
11+
eframe = "0.32"
12+
egui = { version = "0.32", default-features = false }
1213
egui_json_tree = { path = "../../" }
1314
serde_json = { version = "1" }
1415

examples/demo/src/apps/wrapping.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl WrappingExample {
100100
{
101101
self.wrap.max_width = JsonTreeMaxWidth::Points(100.0);
102102
}
103-
if let JsonTreeMaxWidth::Points(ref mut pts) = &mut self.wrap.max_width {
103+
if let JsonTreeMaxWidth::Points(pts) = &mut self.wrap.max_width {
104104
ui.add(DragValue::new(pts).speed(10.0).range(100.0..=10000.0));
105105
}
106106
});

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".
66

77
[toolchain]
8-
channel = "1.81.0"
8+
channel = "1.85.0"
99
components = ["rustfmt", "clippy"]
1010
targets = ["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)