[features]
component-model = ["wasmtime/component-model", "wasm-bridge-macros", "wasm-bridge-js/component-model"]
default = ["wat", "error-logging"]
error-logging = ["wasm-bridge-js/error-logging"]
wat = ["wasmtime/wat", "wasm-bridge-js/wat"]
[package]
categories = ["wasm", "web-programming"]
description = "Run WASM modules on desktop or on the web using wasmtime's API"
edition = "2021"
keywords = ["WASM", "wasmtime", "web"]
license = "MIT"
name = "wasm-bridge"
readme = "README.md"
repository = "https://github.com/kajacx/wasm-bridge"
resolver = "1"
version = "0.2.0"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.wasm-bridge-macros]
optional = true
version = "0.2.0"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.wasmtime]
default-features = false
features = ["cranelift"]
version = "11.0.0"
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bridge-js]
version = "0.2.0"