1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 23:00:04 -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

View File

@@ -4,6 +4,7 @@ All notable changes to the `egui-winit` integration will be noted in this file.
## Unreleased
* Replaced `std::time::Instant` with `instant::Instant` for WebAssembly compatability ([#1023](https://github.com/emilk/egui/pull/1023))
## 0.16.0 - 2021-12-29