mirror of
https://github.com/fluencelabs/wasm-timer
synced 2025-03-15 00:00:49 +00:00
18 lines
553 B
TOML
18 lines
553 B
TOML
[package]
|
|
name = "wasm-timer"
|
|
edition = "2018"
|
|
description = "Abstraction over std::time::Instant and tokio_timer that works on WASM"
|
|
version = "0.1.0"
|
|
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/tomaka/wasm-timer"
|
|
|
|
[target.'cfg(any(target_arch = "wasm32"))'.dependencies]
|
|
futures = "0.1"
|
|
send_wrapper = "0.2"
|
|
wasm-bindgen = "0.2.37"
|
|
web-sys = { version = "0.3.14", features = ["Performance", "Window"] }
|
|
|
|
[target.'cfg(not(any(target_arch = "wasm32")))'.dependencies]
|
|
tokio-timer = "0.2"
|