104 lines
2.4 KiB
TOML
104 lines
2.4 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.57"
|
|
name = "wasm-bindgen-futures"
|
|
version = "0.4.54"
|
|
authors = ["The wasm-bindgen Developers"]
|
|
build = false
|
|
include = [
|
|
"/LICENSE-*",
|
|
"/src",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Bridging the gap between Rust Futures and JavaScript Promises"
|
|
homepage = "https://wasm-bindgen.github.io/wasm-bindgen/"
|
|
documentation = "https://docs.rs/wasm-bindgen-futures"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/futures"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
futures-core-03-stream = ["futures-core"]
|
|
std = [
|
|
"wasm-bindgen/std",
|
|
"js-sys/std",
|
|
"web-sys/std",
|
|
]
|
|
|
|
[lib]
|
|
name = "wasm_bindgen_futures"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1.0.0"
|
|
|
|
[dependencies.futures-core]
|
|
version = "0.3.8"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.js-sys]
|
|
version = "=0.3.81"
|
|
default-features = false
|
|
|
|
[dependencies.once_cell]
|
|
version = "1.12"
|
|
default-features = false
|
|
|
|
[dependencies.wasm-bindgen]
|
|
version = "=0.2.104"
|
|
default-features = false
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.futures-channel]
|
|
version = "0.3"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.futures-lite]
|
|
version = "2"
|
|
default-features = false
|
|
|
|
[target.'cfg(target_feature = "atomics")'.dependencies.web-sys]
|
|
version = "=0.3.81"
|
|
features = [
|
|
"MessageEvent",
|
|
"Worker",
|
|
]
|
|
default-features = false
|
|
|
|
[lints.clippy]
|
|
large_enum_variant = "allow"
|
|
new_without_default = "allow"
|
|
overly_complex_bool_expr = "allow"
|
|
too_many_arguments = "allow"
|
|
type_complexity = "allow"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(wasm_bindgen_unstable_test_coverage)",
|
|
"cfg(xxx_debug_only_print_generated_code)",
|
|
]
|