# 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.77" name = "js-sys" version = "0.3.103" 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", "unsafe-eval", ] futures-core-03-stream = [ "dep:futures-util", "dep:futures-core", ] std = [ "wasm-bindgen/std", "dep:futures-util", ] unsafe-eval = [] [lib] name = "js_sys" path = "src/lib.rs" test = false doctest = false [dependencies.cfg-if] version = "1.0.0" [dependencies.futures-core] version = "0.3.8" optional = true default-features = false [dependencies.futures-util] version = "0.3.31" features = ["std"] optional = true default-features = false [dependencies.wasm-bindgen] version = "=0.2.126" 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_arch = "wasm32")'.dev-dependencies.half] version = "2" [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)"]