# 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 = "tishlang_wasm_runtime"
version = "1.3.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tish VM compiled to WebAssembly (browser + Wasmtime/WASI)"
readme = false
license-file = "LICENSE"
repository = "https://github.com/tishlang/tish"

[features]
browser = [
    "dep:wasm-bindgen",
    "tishlang_vm/wasm",
]
fs = ["tishlang_vm/fs"]
http = ["tishlang_vm/http"]
process = ["tishlang_vm/process"]

[lib]
name = "tishlang_wasm_runtime"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.tishlang_bytecode]
version = ">=0.1"

[dependencies.tishlang_vm]
version = ">=0.1"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
