[package]
name = "linera-witty"
version = "0.10.3"
description = "Generation of WIT compatible host code from Rust code"
authors = ["Linera <contact@linera.io>"]
readme = "README.md"
repository = "https://github.com/linera-io/linera-protocol"
homepage = "https://linera.dev"
documentation = "https://docs.rs/linera-witty/latest/linera_witty/"
license = "Apache-2.0"
edition = "2021"
[features]
default = ["macros"]
macros = ["linera-witty-macros"]
test = ["linera-witty-macros?/test"]
wasmer = ["dep:wasmer", "linera-witty-macros?/wasmer", "wasmer-vm"]
wasmtime = ["dep:wasmtime", "linera-witty-macros?/wasmtime"]
[dependencies]
anyhow.workspace = true
either.workspace = true
frunk.workspace = true
linera-witty-macros = { workspace = true, optional = true }
thiserror.workspace = true
wasmer = { workspace = true, optional = true }
wasmer-vm = { workspace = true, optional = true }
wasmtime = { workspace = true, optional = true }
[dev-dependencies]
assert_matches.workspace = true
linera-witty = { path = ".", features = ["macros", "test"] }
test-case.workspace = true
tracing.workspace = true
[build-dependencies]
cfg_aliases.workspace = true