[package]
name = "wasmtime"
version = "0.39.1"
authors = ["The Wasmtime Project Developers"]
description = "High-level API to expose the Wasmtime runtime"
documentation = "https://docs.rs/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
readme = "README.md"
edition = "2021"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "nightlydoc"]
[dependencies]
wasmtime-runtime = { path = "../runtime", version = "=0.39.1" }
wasmtime-environ = { path = "../environ", version = "=0.39.1" }
wasmtime-jit = { path = "../jit", version = "=0.39.1" }
wasmtime-cache = { path = "../cache", version = "=0.39.1", optional = true }
wasmtime-fiber = { path = "../fiber", version = "=0.39.1", optional = true }
wasmtime-cranelift = { path = "../cranelift", version = "=0.39.1", optional = true }
wasmtime-component-macro = { path = "../component-macro", version = "=0.39.1", optional = true }
target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.86.0"
anyhow = "1.0.19"
region = "2.2.0"
libc = "0.2"
cfg-if = "1.0"
backtrace = { version = "0.3.61" }
log = "0.4.8"
wat = { version = "1.0.43", optional = true }
serde = { version = "1.0.94", features = ["derive"] }
bincode = "1.2.1"
indexmap = "1.6"
paste = "1.0.3"
psm = "0.1.11"
lazy_static = "1.4"
rayon = { version = "1.0", optional = true }
object = { version = "0.28", default-features = false, features = ['read_core', 'elf'] }
async-trait = { version = "0.1.51", optional = true }
once_cell = "1.12"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.36.0"
features = [
"Win32_System_Diagnostics_Debug",
]
[dev-dependencies]
tempfile = "3.0"
wasmtime-wasi = { path = "../wasi" }
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync" }
[badges]
maintenance = { status = "actively-developed" }
[features]
default = [
'async',
'cache',
'wat',
'jitdump',
'parallel-compilation',
'cranelift',
'pooling-allocator',
'memory-init-cow',
'vtune',
]
cranelift = ["dep:wasmtime-cranelift"]
jitdump = ["wasmtime-jit/jitdump"]
vtune = ["wasmtime-jit/vtune"]
parallel-compilation = ["dep:rayon"]
cache = ["dep:wasmtime-cache"]
async = ["dep:wasmtime-fiber", "wasmtime-runtime/async", "dep:async-trait"]
pooling-allocator = ["wasmtime-runtime/pooling-allocator"]
all-arch = ["wasmtime-cranelift?/all-arch"]
posix-signals-on-macos = ["wasmtime-runtime/posix-signals-on-macos"]
memory-init-cow = ["wasmtime-runtime/memory-init-cow"]
component-model = [
"wasmtime-environ/component-model",
"wasmtime-cranelift?/component-model",
"wasmtime-runtime/component-model",
"dep:wasmtime-component-macro",
]