[package]
edition = "2021"
name = "wasmtime-component-macro"
version = "24.0.13"
authors = ["The Wasmtime Project Developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macros for deriving component interface types from Rust types"
documentation = "https://docs.rs/wasmtime-component-macro/"
readme = false
keywords = [
"webassembly",
"wasm",
]
categories = ["wasm"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
[features]
async = []
std = ["wasmtime-wit-bindgen/std"]
[lib]
name = "wasmtime_component_macro"
path = "src/lib.rs"
test = false
doctest = false
proc-macro = true
[[test]]
name = "codegen"
path = "tests/codegen.rs"
[[test]]
name = "codegen_no_std"
path = "tests/codegen_no_std.rs"
[[test]]
name = "expanded"
path = "tests/expanded.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0.25"
features = ["extra-traits"]
[dependencies.wasmtime-component-util]
version = "=24.0.13"
[dependencies.wasmtime-wit-bindgen]
version = "=24.0.13"
[dependencies.wit-parser]
version = "0.215.0"
[dev-dependencies.prettyplease]
version = "0.2.19"
[dev-dependencies.serde]
version = "1.0.188"
features = [
"alloc",
"derive",
]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.80"
[dev-dependencies.similar]
version = "2.1.0"
[dev-dependencies.tracing]
version = "0.1.26"
[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
unnecessary_to_owned = "warn"
[lints.clippy.all]
level = "allow"
priority = -1
[lints.rust]
trivial_numeric_casts = "warn"
unstable_features = "warn"
unused-lifetimes = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"