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