[package]
name = "wai-bindgen-wasmer"
description = "Generate WAI glue for a Rust Wasmer host"
version = "0.31.0"
categories = ["wasm", "os"]
keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"]
readme = "README.md"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
anyhow = "1.0"
async-trait = { version = "0.1.50", optional = true }
bitflags = "1.2"
once_cell = "1.13"
thiserror = "1.0"
tracing-lib = { version = "0.1.26", optional = true, package = "tracing" }
wai-bindgen-wasmer-impl = { version = "0.2.2" }
wasmer = { version = "=5.0.1", path = "../api", default-features = false }
[features]
tracing = ["tracing-lib", "wai-bindgen-wasmer-impl/tracing"]
async = ["async-trait", "wai-bindgen-wasmer-impl/async"]
js = ["wasmer/js-default"]
sys = ["wasmer/sys"]
cranelift = ["wasmer/cranelift"]
singlepass = ["wasmer/singlepass"]
llvm = ["wasmer/llvm"]
[package.metadata.docs.rs]
features = ["wasmer/sys"]
rustc-args = ["--cfg", "docsrs"]