1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -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:
Niklas Korz
2022-01-03 22:13:53 +01:00
committed by GitHub
parent b1fd6a44e8
commit 01015ac94c
5 changed files with 10 additions and 7 deletions

1
Cargo.lock generated
View File

@@ -806,6 +806,7 @@ dependencies = [
"copypasta",
"egui",
"epi",
"instant",
"serde",
"tts",
"webbrowser",