# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wasm-bridge" version = "0.4.0" description = "Run WASM modules on desktop or on the web using wasmtime's API" readme = "README.md" keywords = [ "WASM", "wasmtime", "web", ] categories = [ "wasm", "web-programming", ] license = "MIT" repository = "https://github.com/kajacx/wasm-bridge" [dependencies.async-trait] version = "0.1" optional = true default-features = false [dependencies.wasm-bridge-macros] version = "0.4.0" optional = true [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] async = [ "wasmtime/async", "async-trait", "wasm-bridge-macros/async", ] component-model = [ "wasmtime/component-model", "wasm-bridge-macros", "js-component-bindgen", ] default = [ "wat", "error-logging", ] error-logging = [] wat = [ "dep:wat", "wasmtime/wat", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.ref-cast] version = "1.0" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.wasmtime] version = "19.0" features = [ "cranelift", "runtime", ] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.anyhow] version = "1.0" features = ["std"] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.atomic_refcell] version = "0.1" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.js-component-bindgen] version = "1.0" features = ["transpile-bindgen"] optional = true default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.try-lock] version = "0.2" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.89" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.wat] version = "1.0" optional = true default-features = false