[package]
edition = "2021"
rust-version = "1.71"
name = "js-sys"
version = "0.3.84"
authors = ["The wasm-bindgen Developers"]
build = false
include = [
"/LICENSE-*",
"/src",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Bindings for all JS global objects and functions in all JS environments like
Node.js and browsers, built on `#[wasm_bindgen]` using the `wasm-bindgen` crate.
"""
homepage = "https://wasm-bindgen.github.io/wasm-bindgen/"
documentation = "https://docs.rs/js-sys"
readme = "README.md"
categories = ["wasm"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/js-sys"
[features]
default = ["std"]
std = ["wasm-bindgen/std"]
[lib]
name = "js_sys"
path = "src/lib.rs"
test = false
doctest = false
[dependencies.once_cell]
version = "1.12"
default-features = false
[dependencies.wasm-bindgen]
version = "=0.2.107"
default-features = false
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
[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(js_sys_unstable_apis)"]