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