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