wasm-timer/Cargo.toml
2019-08-29 10:04:41 +02:00

21 lines
658 B
TOML

[package]
name = "wasm-timer"
edition = "2018"
description = "Abstraction over std::time::Instant and futures-timer that works on WASM"
version = "0.2.1"
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"] }