[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 "] 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"