[dependencies.cfg-if]
version = "1.0.0"
[dependencies.once_cell]
default-features = false
version = "1.12"
[dependencies.serde]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.wasm-bindgen-macro]
default-features = false
version = "=0.2.96"
[dev-dependencies]
[features]
default = ["spans", "std"]
enable-interning = ["std"]
gg-alloc = []
serde-serialize = ["serde", "serde_json", "std"]
spans = ["wasm-bindgen-macro/spans"]
std = ["wasm-bindgen-macro/std", "once_cell/std"]
strict-macro = ["wasm-bindgen-macro/strict-macro"]
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
[lib]
name = "wasm_bindgen"
path = "src/lib.rs"
test = 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]
check-cfg = ["cfg(wasm_bindgen_unstable_test_coverage)"]
level = "warn"
priority = 0
[package]
authors = ["The wasm-bindgen Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["wasm"]
description = """
Easy support for interacting between JS and Rust.
"""
documentation = "https://docs.rs/wasm-bindgen"
edition = "2021"
homepage = "https://rustwasm.github.io/"
include = ["/build.rs", "/LICENSE-*", "/src"]
license = "MIT OR Apache-2.0"
name = "wasm-bindgen"
readme = "README.md"
repository = "https://github.com/rustwasm/wasm-bindgen"
rust-version = "1.57"
version = "0.2.96"
[package.metadata.docs.rs]
features = ["serde-serialize"]
[target.'cfg(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "none"), target_feature = "atomics"))'.dependencies.wasm-bindgen-macro]
default-features = false
features = ["atomics"]
version = "=0.2.96"
[target.'cfg(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "none"), wasm_bindgen_unstable_test_coverage))'.dependencies.wasm-bindgen-macro]
default-features = false
features = ["coverage"]
version = "=0.2.96"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.serde_derive]
version = "1.0"