[dependencies.anyhow]
version = "1.0"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
features = ["extra-traits"]
version = "2.0.25"
[dependencies.wasmtime-component-util]
version = "=27.0.0"
[dependencies.wasmtime-wit-bindgen]
version = "=27.0.0"
[dependencies.wit-parser]
version = "0.219.1"
[dev-dependencies.prettyplease]
version = "0.2.19"
[dev-dependencies.serde]
default-features = false
features = ["alloc", "derive"]
version = "1.0.188"
[dev-dependencies.serde_json]
version = "1.0.80"
[dev-dependencies.similar]
version = "2.1.0"
[dev-dependencies.tracing]
version = "0.1.26"
[features]
async = []
std = ["wasmtime-wit-bindgen/std"]
[lib]
doctest = false
name = "wasmtime_component_macro"
path = "src/lib.rs"
proc-macro = true
test = false
[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
uninlined_format_args = "warn"
unnecessary_cast = "warn"
unnecessary_fallible_conversions = "warn"
unnecessary_mut_passed = "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-macro-rules = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(pulley_tail_calls)"]
level = "warn"
priority = 0
[package]
authors = ["The Wasmtime Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["wasm"]
description = "Macros for deriving component interface types from Rust types"
documentation = "https://docs.rs/wasmtime-component-macro/"
edition = "2021"
keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception"
name = "wasmtime-component-macro"
readme = false
repository = "https://github.com/bytecodealliance/wasmtime"
rust-version = "1.80.0"
version = "27.0.0"
[[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"