147 lines
3.2 KiB
TOML
147 lines
3.2 KiB
TOML
# 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 = "2024"
|
|
rust-version = "1.89.0"
|
|
name = "wasmtime-internal-component-macro"
|
|
version = "40.0.3"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "INTERNAL: 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"
|
|
resolver = "2"
|
|
|
|
[features]
|
|
async = ["wasmtime-wit-bindgen/async"]
|
|
component-model-async = [
|
|
"async",
|
|
"wasmtime-wit-bindgen/component-model-async",
|
|
]
|
|
|
|
[lib]
|
|
name = "wasmtime_internal_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.100"
|
|
default-features = false
|
|
|
|
[dependencies.proc-macro2]
|
|
version = "1.0.101"
|
|
|
|
[dependencies.quote]
|
|
version = "1.0.41"
|
|
|
|
[dependencies.syn]
|
|
version = "2.0.106"
|
|
features = ["extra-traits"]
|
|
|
|
[dependencies.wasmtime-component-util]
|
|
version = "=40.0.3"
|
|
package = "wasmtime-internal-component-util"
|
|
|
|
[dependencies.wasmtime-wit-bindgen]
|
|
version = "=40.0.3"
|
|
package = "wasmtime-internal-wit-bindgen"
|
|
|
|
[dependencies.wit-parser]
|
|
version = "0.243.0"
|
|
|
|
[dev-dependencies.prettyplease]
|
|
version = "0.2.31"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0.228"
|
|
features = [
|
|
"alloc",
|
|
"derive",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.80"
|
|
|
|
[dev-dependencies.similar]
|
|
version = "2.7.0"
|
|
|
|
[dev-dependencies.tracing]
|
|
version = "0.1.41"
|
|
|
|
[dev-dependencies.wasmtime-wit-bindgen]
|
|
version = "=40.0.3"
|
|
features = ["component-model-async"]
|
|
package = "wasmtime-internal-wit-bindgen"
|
|
|
|
[lints.clippy]
|
|
allow_attributes_without_reason = "warn"
|
|
clone_on_copy = "warn"
|
|
extra_unused_type_parameters = "warn"
|
|
from_over_into = "warn"
|
|
manual_strip = "warn"
|
|
map_clone = "warn"
|
|
multiple_bound_locations = "warn"
|
|
redundant_field_names = "warn"
|
|
uninlined_format_args = "warn"
|
|
unnecessary_cast = "warn"
|
|
unnecessary_fallible_conversions = "warn"
|
|
unnecessary_mut_passed = "warn"
|
|
unnecessary_to_owned = "warn"
|
|
useless_conversion = "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]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(pulley_tail_calls)",
|
|
"cfg(pulley_assume_llvm_makes_tail_calls)",
|
|
"cfg(pulley_disable_interp_simd)",
|
|
]
|