[badges.maintenance]
status = "actively-developed"
[build-dependencies.cmake]
version = "0.1.50"
[build-dependencies.tar]
version = "0.4.42"
[build-dependencies.ureq]
version = "2.10.1"
[build-dependencies.xz]
version = "0.1.0"
[build-dependencies.zip]
version = "2.2.0"
[dependencies.bytes]
version = "1"
[dependencies.cfg-if]
version = "1.0"
[dependencies.derivative]
version = "^2"
[dependencies.indexmap]
version = "1.6"
[dependencies.loupe]
features = ["indexmap", "enable-indexmap"]
optional = true
version = "0.1.3"
[dependencies.more-asserts]
version = "0.2"
[dependencies.rustc-demangle]
version = "0.1"
[dependencies.seq-macro]
optional = true
version = "0.3.5"
[dependencies.shared-buffer]
version = "0.1.4"
[dependencies.thiserror]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.wasmi_c_api]
optional = true
package = "wasmi_c_api_impl"
version = "0.38.0"
[dependencies.wat]
optional = true
version = "=1.216.0"
[features]
artifact-size = ["dep:loupe", "wasmer-vm/artifact-size", "wasmer-compiler/artifact-size"]
compiler = ["sys"]
core = ["hashbrown"]
cranelift = ["compiler", "wasmer-compiler-cranelift"]
default = ["sys-default"]
enable-serde = ["wasmer-vm/enable-serde", "wasmer-compiler/enable-serde", "wasmer-types/enable-serde"]
engine = ["sys"]
jit = ["engine"]
js = ["wasm-bindgen", "js-sys"]
js-default = ["js", "std", "wasm-types-polyfill"]
js-serializable-module = []
jsc = ["rusty_jsc", "wasm-types-polyfill", "wasmparser"]
llvm = ["compiler", "wasmer-compiler-llvm"]
singlepass = ["compiler", "wasmer-compiler-singlepass"]
static-artifact-create = ["wasmer-compiler/static-artifact-create"]
static-artifact-load = ["wasmer-compiler/static-artifact-load"]
std = []
sys = ["wasmer-compiler/translator", "wasmer-compiler/compiler", "std"]
sys-default = ["sys", "wat", "cranelift"]
v8 = ["wasm-c-api", "std", "wat", "dep:seq-macro"]
wamr = ["wasm-c-api", "std", "wat"]
wasm-c-api = ["wasm-types-polyfill"]
wasm-types-polyfill = ["wasmparser"]
wasmer-artifact-create = ["wasmer-compiler/wasmer-artifact-create"]
wasmer-artifact-load = ["wasmer-compiler/wasmer-artifact-load"]
wasmi = ["wasm-c-api", "std", "wat", "dep:wasmi_c_api"]
[lib]
name = "wasmer"
path = "src/lib.rs"
[package]
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["wasm"]
description = "High-performance WebAssembly runtime"
edition = "2021"
homepage = "https://wasmer.io/"
keywords = ["wasm", "webassembly", "runtime", "vm"]
license = "MIT"
name = "wasmer"
readme = "README.md"
repository = "https://github.com/wasmerio/wasmer"
rust-version = "1.81"
version = "5.0.1"
[package.metadata.docs.rs]
features = ["compiler", "core", "cranelift", "engine", "jit", "singlepass", "static-artifact-create", "static-artifact-load", "sys", "sys-default", "wasmer-artifact-create", "wasmer-artifact-load"]
rustc-args = ["--cfg", "docsrs"]
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[target.'cfg(all(not(target_arch = "wasm32"), target_os = "windows"))'.dependencies.windows-sys]
version = "0.59"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.js-sys]
optional = true
version = "0.3.51"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rusty_jsc]
optional = true
version = "0.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.target-lexicon]
default-features = false
version = "0.12.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasm-bindgen]
optional = true
version = "0.2.74"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler]
version = "=5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-cranelift]
optional = true
version = "=5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-llvm]
optional = true
version = "=5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-singlepass]
optional = true
version = "=5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-derive]
version = "=5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-types]
version = "=5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-vm]
version = "=5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmparser]
default-features = false
features = ["validate"]
optional = true
version = "0.216.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.anyhow]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.macro-wasmer-universal-test]
version = "5.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tempfile]
version = "3.6.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.wat]
version = "1.0"
[target.'cfg(not(target_env = "musl"))'.build-dependencies.bindgen]
version = "0.70.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.hashbrown]
optional = true
version = "0.11"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.51"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde]
features = ["derive"]
version = "1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.4.5"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.74"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasmer-derive]
version = "=5.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasmer-types]
default-features = false
features = ["std"]
version = "=5.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasmparser]
default-features = false
features = ["validate"]
optional = true
version = "0.216.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.anyhow]
version = "1.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.macro-wasmer-universal-test]
version = "5.0.1"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wat]
version = "1.0"
[target.'cfg(target_env = "musl")'.build-dependencies.bindgen]
default-features = false
features = ["static", "logging", "prettyplease"]
version = "0.70.1"
[[test]]
name = "externals"
path = "tests/externals.rs"
[[test]]
name = "function_env"
path = "tests/function_env.rs"
[[test]]
name = "import_function"
path = "tests/import_function.rs"
[[test]]
name = "instance"
path = "tests/instance.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "module"
path = "tests/module.rs"
[[test]]
name = "reference_types"
path = "tests/reference_types.rs"
[[test]]
name = "typed_functions"
path = "tests/typed_functions.rs"