[package]
edition = "2021"
name = "web-async"
version = "0.1.4"
authors = ["Luke Curley"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async helpers and utilities for WASM"
readme = false
keywords = [
"wasm",
"async",
"futures",
]
categories = ["wasm"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kixelated/web-rs"
[features]
tracing = ["dep:tracing"]
[lib]
name = "web_async"
path = "src/lib.rs"
[dependencies.tracing]
version = "0.1"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
"rt",
"time",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasmtimer]
version = "0.4"