#egui inspect wrong type in trait method?
9 messages · Page 1 of 1 (latest)
You might have multiple incompatible versions of egui in your dependencies?
It looks like the latest version of egui_inspect is old and depends on [email protected], and you are probably using [email protected]
What does cargo tree -d show?
(Assuming that EguiInspect is from egui_inspect)
yeah, it does appear so, heres the beginning of it
ahash v0.7.6
├── egui v0.16.1
│ └── egui_inspect v0.1.3
│ └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
└── epaint v0.16.0
└── egui v0.16.1 (*)
ahash v0.8.3
├── egui v0.23.0
│ ├── eframe v0.23.0
│ │ └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
│ ├── egui-winit v0.23.0
│ │ └── eframe v0.23.0 (*)
│ ├── egui_glow v0.23.0
│ │ └── eframe v0.23.0 (*)
│ ├── egui_plot v0.23.0
│ │ └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
│ └── plotting_egui v0.1.0 (/home/d/scripts/rust/plotting_egui)
└── epaint v0.23.0
└── egui v0.23.0 (*)
egui v0.16.1 (*)
egui v0.23.0 (*)
the toml for their example is using 0.20 though? I am on 0.23 right now but have gone back and forth
trying to make it work
egui_inspect's github has some unpublished changes
https://github.com/Meisterlama/egui_inspect/commits/master/egui_inspect/Cargo.toml
The bump to 0.20 happened in December 2022, but the latest crates.io release was February 2022
Note that 0.20 is still incompatible with 0.23 (https://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility)
You may have to fork and manually update it to [email protected] (and then make a PR back if you want)