| 1 |
[build-dependencies.rustversion-compat] |
| 2 |
package = "rustversion" |
| 3 |
version = "1.0.6" |
| 4 |
|
| 5 |
[dependencies.cfg-if] |
| 6 |
version = "1.0.0" |
| 7 |
|
| 8 |
[dependencies.once_cell] |
| 9 |
default-features = false |
| 10 |
version = "1.12" |
| 11 |
|
| 12 |
[dependencies.serde] |
| 13 |
optional = true |
| 14 |
version = "1.0" |
| 15 |
|
| 16 |
[dependencies.serde_json] |
| 17 |
optional = true |
| 18 |
version = "1.0" |
| 19 |
|
| 20 |
[dependencies.wasm-bindgen-macro] |
| 21 |
version = "=0.2.127" |
| 22 |
|
| 23 |
[dependencies.wasm-bindgen-shared] |
| 24 |
version = "=0.2.127" |
| 25 |
|
| 26 |
[dev-dependencies.once_cell] |
| 27 |
version = "1" |
| 28 |
|
| 29 |
[features] |
| 30 |
default = ["std"] |
| 31 |
enable-interning = ["std"] |
| 32 |
gg-alloc = [] |
| 33 |
msrv = [] |
| 34 |
rustversion = [] |
| 35 |
serde-serialize = ["serde", "serde_json", "std"] |
| 36 |
spans = [] |
| 37 |
std = [] |
| 38 |
strict-macro = ["wasm-bindgen-macro/strict-macro"] |
| 39 |
xxx_debug_only_print_generated_code = [] |
| 40 |
|
| 41 |
[lib] |
| 42 |
path = "src/lib.rs" |
| 43 |
|
| 44 |
[lints.clippy] |
| 45 |
large_enum_variant = "allow" |
| 46 |
new_without_default = "allow" |
| 47 |
overly_complex_bool_expr = "allow" |
| 48 |
too_many_arguments = "allow" |
| 49 |
type_complexity = "allow" |
| 50 |
uninlined_format_args = "warn" |
| 51 |
|
| 52 |
[lints.rust] |
| 53 |
unused_lifetimes = "warn" |
| 54 |
|
| 55 |
[lints.rust.unexpected_cfgs] |
| 56 |
check-cfg = ["cfg(wasm_bindgen_unstable_test_coverage)", "cfg(wasm_bindgen_use_js_sys)", "cfg(xxx_debug_only_print_generated_code)", "cfg(legacy_eh)"] |
| 57 |
level = "warn" |
| 58 |
priority = 0 |
| 59 |
|
| 60 |
[package] |
| 61 |
authors = ["The wasm-bindgen Developers"] |
| 62 |
autobenches = false |
| 63 |
autobins = false |
| 64 |
autoexamples = false |
| 65 |
autolib = false |
| 66 |
autotests = false |
| 67 |
categories = ["wasm"] |
| 68 |
description = """ |
| 69 |
Easy support for interacting between JS and Rust. |
| 70 |
""" |
| 71 |
documentation = "https://docs.rs/wasm-bindgen" |
| 72 |
edition = "2021" |
| 73 |
homepage = "https://wasm-bindgen.github.io/wasm-bindgen" |
| 74 |
include = ["/build.rs", "/LICENSE-*", "/src"] |
| 75 |
license = "MIT OR Apache-2.0" |
| 76 |
name = "wasm-bindgen" |
| 77 |
readme = "README.md" |
| 78 |
repository = "https://github.com/wasm-bindgen/wasm-bindgen" |
| 79 |
rust-version = "1.77" |
| 80 |
version = "0.2.127" |
| 81 |
|
| 82 |
[package.metadata.docs.rs] |
| 83 |
features = ["serde-serialize"] |
| 84 |
|
| 85 |
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.paste] |
| 86 |
version = "1" |
| 87 |
|
| 88 |
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.serde_derive] |
| 89 |
version = "1.0" |
| 90 |
|
| 91 |
[target.'cfg(target_arch = "wasm64")'.dev-dependencies.paste] |
| 92 |
version = "1" |
| 93 |
|
| 94 |
[target.'cfg(target_arch = "wasm64")'.dev-dependencies.serde_derive] |
| 95 |
version = "1.0" |