wiggle 40.0.2

Runtime components of wiggle code generator
Documentation
# 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 = "wiggle"
version = "40.0.2"
authors = [
    "Pat Hickey <phickey@fastly.com>",
    "Jakub Konka <kubkonk@jakubkonka.com>",
    "Alex Crichton <alex@alexcrichton.com>",
]
build = false
include = [
    "src/**/*",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime components of wiggle code generator"
readme = "README.md"
keywords = [
    "webassembly",
    "wasm",
]
categories = ["wasm"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
resolver = "2"

[features]
default = [
    "wiggle_metadata",
    "wasmtime",
    "wasmtime_async",
]
tracing_log = ["tracing/log"]
wasmtime = ["dep:wasmtime"]
wasmtime_async = ["wasmtime/async"]
wiggle_metadata = [
    "witx",
    "wiggle-macro/wiggle_metadata",
]

[lib]
name = "wiggle"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.100"
default-features = false

[dependencies.bitflags]
version = "2.9.4"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tracing]
version = "0.1.41"

[dependencies.wasmtime]
version = "40.0.2"
optional = true
default-features = false

[dependencies.wiggle-macro]
version = "=40.0.2"

[dependencies.witx]
version = "0.9.1"
optional = true

[dev-dependencies.proptest]
version = "1.0.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "time",
    "macros",
]

[dev-dependencies.wasmtime]
version = "40.0.2"
default-features = false

[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)",
]