[package]
edition = "2021"
rust-version = "1.77"
name = "wasm-bindgen-test-macro"
version = "0.3.76"
authors = ["The wasm-bindgen Developers"]
build = false
include = [
"/LICENSE-*",
"/src",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal testing macro for wasm-bindgen"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/wasm-bindgen/wasm-bindgen"
[lib]
name = "wasm_bindgen_test_macro"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = [
"parsing",
"proc-macro",
"derive",
"printing",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.trybuild]
version = "1.0"
[lints.clippy]
large_enum_variant = "allow"
new_without_default = "allow"
overly_complex_bool_expr = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
uninlined_format_args = "warn"
[lints.rust]
unused_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(wasm_bindgen_unstable_test_coverage)",
"cfg(wasm_bindgen_use_js_sys)",
"cfg(xxx_debug_only_print_generated_code)",
"cfg(legacy_eh)",
]