# 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 = "tatara-wasm"
version = "0.2.98"
authors = ["Pleme.io <engineering@pleme.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-runtime WASI/WASM host for tatara — one crate, feature-gated runtimes (wasmtime, WasmEdge, Wasmer, wasmi, WAMR). Phase H.3 + H.4."
readme = false
license = "MIT"

[features]
all-rust-runtimes = [
    "runtime-wasmtime",
    "runtime-wasmer",
    "runtime-wasmi",
]
default = ["runtime-wasmtime"]
runtime-wamr = []
runtime-wasmedge = []
runtime-wasmer = [
    "dep:wasmer",
    "dep:wat",
]
runtime-wasmi = [
    "dep:wasmi",
    "dep:wat",
]
runtime-wasmtime = [
    "dep:wasmtime",
    "dep:wasmtime-wasi",
    "dep:wat",
]
wasi-clocks = []
wasi-http = []
wasi-nn = []
wasi-sockets = []

[lib]
name = "tatara_wasm"
path = "src/lib.rs"

[[test]]
name = "multi_runtime_smoke"
path = "tests/multi_runtime_smoke.rs"

[[test]]
name = "wasmtime_hello"
path = "tests/wasmtime_hello.rs"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.wasmer]
version = "5"
features = [
    "cranelift",
    "sys",
]
optional = true
default-features = false

[dependencies.wasmi]
version = "0.40"
optional = true

[dependencies.wasmtime]
version = "25"
optional = true

[dependencies.wasmtime-wasi]
version = "25"
optional = true

[dependencies.wat]
version = "1"
optional = true
