mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Use instant crate in egui-winit for WebAssembly support (#1023)
* Replace `std::time::Instant` with wasm-compatible `instant::Instant` * Change version requirement for instant to be compatible to winit * Enable wasm-bindgen feature for instant * Update lockfile * Update changelog * sort dependencies Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
@@ -23,6 +23,7 @@ all-features = true
|
||||
|
||||
[dependencies]
|
||||
egui = { version = "0.16.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
||||
winit = "0.26"
|
||||
|
||||
epi = { version = "0.16.0", path = "../epi", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user