[package] authors = ["The wasm-bindgen Developers"] description = "Bridging the gap between Rust Futures and JavaScript Promises" documentation = "https://docs.rs/wasm-bindgen-futures" homepage = "https://rustwasm.github.io/wasm-bindgen/" license = "MIT/Apache-2.0" name = "wasm-bindgen-futures" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures" readme = "./README.md" version = "0.3.25" edition = "2018" [dependencies] futures = "0.1.20" js-sys = { path = "../js-sys", version = '0.3.25' } wasm-bindgen = { path = "../..", version = '0.2.48' } futures-util-preview = { version = "0.3.0-alpha.15", optional = true } futures-channel-preview = { version = "0.3.0-alpha.15", optional = true } lazy_static = { version = "1.3.0", optional = true } [target.'cfg(target_feature = "atomics")'.dependencies.web-sys] path = "../web-sys" version = "0.3.23" features = [ "MessageEvent", "Worker", ] [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = { path = '../test', version = '0.2.48' } [features] futures_0_3 = ["futures-util-preview", "futures-channel-preview", "lazy_static"]