1[package]
2authors = ["The wasm-bindgen Developers"]
3categories = ["wasm"]
4description = """
5Bindings for all JS global objects and functions in all JS environments like
6Node.js and browsers, built on `#[wasm_bindgen]` using the `wasm-bindgen` crate.
7"""
8documentation = "https://docs.rs/js-sys"
9edition = "2021"
10homepage = "https://rustwasm.github.io/wasm-bindgen/"
11include = ["/LICENSE-*", "/src"]
12license = "MIT OR Apache-2.0"
13name = "js-sys"
14readme = "./README.md"
15repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/js-sys"
16rust-version = "1.57"
17version = "0.3.77"
18
19[lib]
20doctest = false
21test = false
22
23[features]
24default = ["std"]
25std = ["wasm-bindgen/std"]
26
27[dependencies]
28once_cell = { version = "1.12", default-features = false }
29wasm-bindgen = { path = "../..", version = "=0.2.100", default-features = false }
30
31[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
32wasm-bindgen-futures = { path = '../futures' }
33wasm-bindgen-test = { path = '../test' }
34web-sys = { path = "../web-sys", features = ["Headers", "Response", "ResponseInit"] }
35
36[lints.rust]
37unexpected_cfgs = { level = "warn", check-cfg = ['cfg(js_sys_unstable_apis)'] }
38
39[lints.clippy]
40large_enum_variant = "allow"
41new_without_default = "allow"
42overly_complex_bool_expr = "allow"
43too_many_arguments = "allow"
44type_complexity = "allow"
45