wai-bindgen-wasmer 0.9.0

Generate WAI glue for a Rust Wasmer host
Documentation
[package]
name = "wai-bindgen-wasmer"
description = "Generate WAI glue for a Rust Wasmer host"
version = "0.9.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 = "=4.0.0", path = "../api", default-features = false }

[features]
# Enables generated code to emit events via the `tracing` crate whenever wasm is
# entered and when native functions are called. Note that tracing is currently
# only done for imported functions.
tracing = ["tracing-lib", "wai-bindgen-wasmer-impl/tracing"]

# Enables async support for generated code, although when enabled this still
# needs to be configured through the macro invocation.
async = ["async-trait", "wai-bindgen-wasmer-impl/async"]

# Wasmer features
js = ["wasmer/js-default"]
sys = ["wasmer/sys"]

# Wasmer compiler (with `sys` feature only)
cranelift = ["wasmer/cranelift"]
singlepass = ["wasmer/singlepass"]
llvm = ["wasmer/llvm"]

[package.metadata.docs.rs]
features = ["wasmer/sys"]