Skip to content

Commit 6180c0a

Browse files
Fix compatibility with older Rust version (CI issue)
- Downgraded dependencies to work with rust lower than 1.75.
1 parent 9c6fe3d commit 6180c0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/turtlesim_rs/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
eframe = "0.29.1"
8-
egui_extras = { version = "0.29.1", features = ["all_loaders"]}
7+
eframe = "0.27.0"
8+
egui_extras = { version = "0.27.0", features = ["all_loaders"]}
99
tiny-skia = "0.11.4"
1010
rand = "0.8.5"
1111
termion = "1.5"

examples/turtlesim_rs/src/turtlesim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn main() {
2121
native_options,
2222
Box::new(|cc| {
2323
install_image_loaders(&cc.egui_ctx);
24-
Ok(Box::new(MyEguiApp::new(cc)))
24+
Box::new(MyEguiApp::new(cc))
2525
}),
2626
);
2727
}

0 commit comments

Comments
 (0)