[go: up one dir, main page]

wasm-timer 0.2.0

Abstraction over std::time::Instant and futures-timer that works on WASM
Documentation
[package]
name = "wasm-timer"
edition = "2018"
description = "Abstraction over std::time::Instant and futures-timer that works on WASM"
version = "0.2.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
repository = "https://github.com/tomaka/wasm-timer"

[dependencies]
futures-preview = "0.3.0-alpha"
parking_lot = "0.9"
pin-utils = "0.1.0-alpha.4"

[target.'cfg(any(target_arch = "wasm32"))'.dependencies]
js-sys = "0.3.14"
send_wrapper = "0.2"
wasm-bindgen = { version = "0.2.37" }
wasm-bindgen-futures = { version = "0.3.25", features = ["futures_0_3"] }
web-sys = { version = "0.3.14", features = ["Performance", "Window"] }