[package] name = "linera-wit-bindgen-host-wasmtime-rust" version = "0.2.0" description = "experimental fork" license = "Apache-2.0" authors = ["Alex Crichton ", "Linera "] edition = "2021" [dependencies] anyhow = "1.0" bitflags = "1.2" thiserror = "1.0" wasmtime = "1.0" wit-bindgen-host-wasmtime-rust-macro = { path = "../host-wasmtime-rust-macro", version = "0.2", package = "linera-wit-bindgen-host-wasmtime-rust-macro" } tracing-lib = { version = "0.1.26", optional = true, package = 'tracing' } async-trait = { version = "0.1.50", optional = true } [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', 'wit-bindgen-host-wasmtime-rust-macro/tracing'] # Enables async support for generated code, although when enabled this still # needs to be configured through the macro invocation. async = ['async-trait', 'wit-bindgen-host-wasmtime-rust-macro/async']