1[package]
2authors = ["The wasm-bindgen Developers"]
3description = "Bridging the gap between Rust Futures and JavaScript Promises"
4documentation = "https://docs.rs/wasm-bindgen-futures"
5homepage = "https://rustwasm.github.io/wasm-bindgen/"
6license = "MIT OR Apache-2.0"
7name = "wasm-bindgen-futures"
8repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
9readme = "./README.md"
10version = "0.4.42"
11edition = "2018"
12rust-version = "1.57"
13
14[dependencies]
15cfg-if = "1.0.0"
16js-sys = { path = "../js-sys", version = '0.3.69' }
17wasm-bindgen = { path = "../..", version = '0.2.92' }
18futures-core = { version = '0.3.8', default-features = false, optional = true }
19
20[features]
21futures-core-03-stream = ['futures-core']
22
23[target.'cfg(target_feature = "atomics")'.dependencies.web-sys]
24path = "../web-sys"
25version = "0.3.24"
26features = [
27 "MessageEvent",
28 "Worker",
29]
30
31[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
32wasm-bindgen-test = { path = '../test', version = '0.3.42' }
33futures-channel-preview = { version = "0.3.0-alpha.18" }
34futures-lite = { version = "1.11.3", default-features = false }
35