wasmtime 24.0.2

High-level API to expose the Wasmtime runtime
Documentation
[build-dependencies.cc]
optional = true
version = "1.0"

[build-dependencies.wasmtime-versioned-export-macros]
optional = true
version = "=24.0.2"

[dependencies.addr2line]
default-features = false
optional = true
version = "0.22.0"

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

[dependencies.async-trait]
optional = true
version = "0.1.71"

[dependencies.bitflags]
version = "2.0"

[dependencies.bumpalo]
version = "3.11.0"

[dependencies.cfg-if]
version = "1.0"

[dependencies.encoding_rs]
optional = true
version = "0.8.31"

[dependencies.fxprof-processed-profile]
optional = true
version = "0.6.0"

[dependencies.gimli]
default-features = false
features = ["read"]
optional = true
version = "0.29.0"

[dependencies.hashbrown]
default-features = false
version = "0.14"

[dependencies.indexmap]
default-features = false
version = "2.0.0"

[dependencies.libc]
default-features = true
version = "0.2.112"

[dependencies.libm]
version = "0.2.7"

[dependencies.log]
default-features = false
version = "0.4.8"

[dependencies.object]
default-features = false
features = ["read_core", "elf"]
version = "0.36"

[dependencies.once_cell]
default-features = false
version = "1.12.0"

[dependencies.paste]
version = "1.0.3"

[dependencies.postcard]
default-features = false
features = ["alloc"]
version = "1.0.8"

[dependencies.rayon]
optional = true
version = "1.0"

[dependencies.semver]
default-features = false
optional = true
version = "1.0.17"

[dependencies.serde]
default-features = false
features = ["alloc"]
version = "1.0.188"

[dependencies.serde_derive]
version = "1.0.188"

[dependencies.serde_json]
optional = true
version = "1.0.80"

[dependencies.smallvec]
features = ["union"]
optional = true
version = "1.6.1"

[dependencies.sptr]
version = "0.3.2"

[dependencies.target-lexicon]
version = "0.12.16"

[dependencies.wasm-encoder]
optional = true
version = "0.215.0"

[dependencies.wasmparser]
default-features = false
version = "0.215.0"

[dependencies.wasmtime-asm-macros]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-cache]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-component-macro]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-component-util]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-cranelift]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-environ]
version = "=24.0.2"

[dependencies.wasmtime-fiber]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-jit-debug]
features = ["gdb_jit_int", "perf_jitdump"]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-jit-icache-coherence]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-slab]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-versioned-export-macros]
version = "=24.0.2"

[dependencies.wasmtime-winch]
optional = true
version = "=24.0.2"

[dependencies.wasmtime-wmemcheck]
optional = true
version = "=24.0.2"

[dependencies.wat]
optional = true
version = "1.215.0"

[dev-dependencies.env_logger]
version = "0.10"

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

[dev-dependencies.rand]
features = ["small_rng"]
version = "0.8.3"

[dev-dependencies.tempfile]
version = "3.1.0"

[features]
addr2line = ["dep:addr2line", "dep:gimli", "std"]
all-arch = ["wasmtime-cranelift?/all-arch", "wasmtime-winch?/all-arch"]
async = ["dep:wasmtime-fiber", "dep:async-trait", "wasmtime-component-macro?/async", "runtime", "std"]
cache = ["dep:wasmtime-cache", "std"]
call-hook = []
component-model = ["wasmtime-environ/component-model", "wasmtime-cranelift?/component-model", "wasmtime-winch?/component-model", "dep:wasmtime-component-macro", "dep:wasmtime-component-util", "dep:encoding_rs", "dep:semver"]
coredump = ["dep:wasm-encoder", "runtime", "std"]
cranelift = ["dep:wasmtime-cranelift", "std"]
debug-builtins = ["dep:wasmtime-jit-debug", "std"]
default = ["async", "cache", "gc", "wat", "profiling", "parallel-compilation", "cranelift", "pooling-allocator", "demangle", "addr2line", "coredump", "debug-builtins", "runtime", "component-model", "threads", "std"]
demangle = ["wasmtime-environ/demangle", "std"]
gc = ["wasmtime-environ/gc", "wasmtime-cranelift?/gc"]
incremental-cache = ["wasmtime-cranelift?/incremental-cache", "std"]
memory-protection-keys = ["pooling-allocator"]
parallel-compilation = ["dep:rayon", "std"]
pooling-allocator = ["runtime", "std"]
profiling = ["dep:fxprof-processed-profile", "dep:wasmtime-jit-debug", "dep:ittapi", "dep:rustix", "rustix/thread", "dep:serde_json", "std"]
runtime = ["dep:cc", "dep:smallvec", "dep:mach2", "dep:memfd", "dep:wasmtime-asm-macros", "dep:wasmtime-jit-icache-coherence", "dep:wasmtime-slab", "dep:wasmtime-versioned-export-macros", "dep:windows-sys", "dep:psm", "dep:rustix", "rustix/mm"]
std = ["postcard/use-std", "wasmtime-component-macro?/std", "wasmtime-environ/std", "object/std", "once_cell/std"]
threads = ["wasmtime-cranelift?/threads", "std"]
winch = ["dep:wasmtime-winch", "std"]
wmemcheck = ["dep:wasmtime-wmemcheck", "wasmtime-cranelift?/wmemcheck", "wasmtime-environ/wmemcheck", "std"]

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

[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"

[package]
authors = ["The Wasmtime Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
description = "High-level API to expose the Wasmtime runtime"
documentation = "https://docs.rs/wasmtime"
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception"
name = "wasmtime"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasmtime"
rust-version = "1.78.0"
version = "24.0.2"

[package.metadata.docs.rs]
all-features = true

[target.'cfg(all(target_arch = "x86_64", not(target_os = "android")))'.dependencies.ittapi]
optional = true
version = "0.4.0"

[target.'cfg(target_arch = "s390x")'.dependencies.psm]
optional = true
version = "0.1.11"

[target.'cfg(target_os = "linux")'.dependencies.memfd]
optional = true
version = "0.6.2"

[target.'cfg(target_os = "macos")'.dependencies.mach2]
optional = true
version = "0.4.2"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_System_Kernel", "Win32_System_Memory", "Win32_System_Diagnostics_Debug", "Win32_System_SystemInformation", "Win32_Storage_FileSystem", "Win32_Security"]
optional = true
version = "0.52.0"

[target."cfg(unix)".dependencies.rustix]
optional = true
version = "0.38.31"