Use instant to fix Wasm target
This commit is contained in:
parent
e2ddef7438
commit
fc54d6ba31
9 changed files with 12 additions and 9 deletions
|
|
@ -15,8 +15,9 @@ trace = ["iced_winit/trace"]
|
|||
debug = ["iced_winit/debug"]
|
||||
system = ["iced_winit/system"]
|
||||
|
||||
[dependencies.log]
|
||||
version = "0.4"
|
||||
[dependencies]
|
||||
log = "0.4"
|
||||
instant = "0.1"
|
||||
|
||||
[dependencies.glutin]
|
||||
version = "0.29"
|
||||
|
|
@ -39,4 +40,4 @@ features = ["opengl"]
|
|||
|
||||
[dependencies.tracing]
|
||||
version = "0.1.6"
|
||||
optional = true
|
||||
optional = true
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ use iced_winit::user_interface;
|
|||
use iced_winit::{Clipboard, Command, Debug, Event, Proxy, Settings};
|
||||
|
||||
use glutin::window::Window;
|
||||
use instant::Instant;
|
||||
use std::mem::ManuallyDrop;
|
||||
use std::time::Instant;
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
use tracing::{info_span, instrument::Instrument};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue