tinywasm 0.9.0-alpha.0

A tiny WebAssembly interpreter
Documentation
# 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 = "2024"
rust-version = "1.95"
name = "tinywasm"
version = "0.9.0-alpha.0"
authors = ["Henry Gressmann <crates@henrygressmann.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny WebAssembly interpreter"
readme = "README.md"
keywords = [
    "tinywasm",
    "wasm",
    "webassembly",
    "interpreter",
    "no-std",
]
categories = [
    "wasm",
    "no-std",
    "compilers",
    "virtualization",
    "embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/explodingcamera/tinywasm"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "std",
    "parser",
    "archive",
    "log",
    "canonicalize-nans",
    "debug",
    "guest-debug",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
archive = ["tinywasm-types/archive"]
canonicalize-nans = []
debug = ["tinywasm-types/debug"]
default = [
    "std",
    "parser",
    "log",
    "archive",
    "canonicalize-nans",
    "debug",
    "parallel-parser",
]
guest-debug = []
log = [
    "dep:log",
    "tinywasm-parser?/log",
    "tinywasm-types/log",
]
parallel-parser = [
    "parser",
    "tinywasm-parser?/parallel",
]
parser = ["dep:tinywasm-parser"]
simd-x86 = []
std = [
    "tinywasm-parser?/std",
    "tinywasm-types/std",
]

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "test-wasm-1"
path = "tests/test-wasm-1.rs"
harness = false

[[test]]
name = "test-wasm-2"
path = "tests/test-wasm-2.rs"
harness = false

[[test]]
name = "test-wasm-3"
path = "tests/test-wasm-3.rs"
test = false
harness = false

[[test]]
name = "test-wasm-annotations"
path = "tests/test-wasm-annotations.rs"
harness = false

[[test]]
name = "test-wasm-custom"
path = "tests/test-wasm-custom.rs"
harness = false

[[test]]
name = "test-wasm-custom-page-sizes"
path = "tests/test-wasm-custom-page-sizes.rs"
harness = false

[[test]]
name = "test-wasm-extended-const"
path = "tests/test-wasm-extended-const.rs"
harness = false

[[test]]
name = "test-wasm-function-references"
path = "tests/test-wasm-function-references.rs"
test = false
harness = false

[[test]]
name = "test-wasm-gc"
path = "tests/test-wasm-gc.rs"
test = false
harness = false

[[test]]
name = "test-wasm-latest"
path = "tests/test-wasm-latest.rs"
test = false
harness = false

[[test]]
name = "test-wasm-memory64"
path = "tests/test-wasm-memory64.rs"
harness = false

[[test]]
name = "test-wasm-multi-memory"
path = "tests/test-wasm-multi-memory.rs"
harness = false

[[test]]
name = "test-wasm-nontrapping-float-to-int-conversions"
path = "tests/test-wasm-nontrapping-float-to-int-conversions.rs"
harness = false

[[test]]
name = "test-wasm-reference-types"
path = "tests/test-wasm-reference-types.rs"
harness = false

[[test]]
name = "test-wasm-relaxed-simd"
path = "tests/test-wasm-relaxed-simd.rs"
harness = false

[[test]]
name = "test-wasm-sign-extension-op"
path = "tests/test-wasm-sign-extension-op.rs"
harness = false

[[test]]
name = "test-wasm-simd"
path = "tests/test-wasm-simd.rs"
harness = false

[[test]]
name = "test-wasm-tail-call"
path = "tests/test-wasm-tail-call.rs"
harness = false

[[test]]
name = "test-wasm-threads"
path = "tests/test-wasm-threads.rs"
test = false
harness = false

[[test]]
name = "test-wasm-wide-arithmetic"
path = "tests/test-wasm-wide-arithmetic.rs"
harness = false

[[test]]
name = "test-wast"
path = "tests/test-wast.rs"
test = false
harness = false

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

[[bench]]
name = "argon2id"
path = "benches/argon2id.rs"
harness = false

[[bench]]
name = "fibonacci"
path = "benches/fibonacci.rs"
harness = false

[[bench]]
name = "memory_backends"
path = "benches/memory_backends.rs"
harness = false

[[bench]]
name = "tinywasm"
path = "benches/tinywasm.rs"
harness = false

[[bench]]
name = "tinywasm_modes"
path = "benches/tinywasm_modes.rs"
harness = false

[dependencies.libm]
version = "0.2"
default-features = false

[dependencies.log]
version = "0.4"
optional = true

[dependencies.tinywasm-parser]
version = "0.9.0-alpha.0"
optional = true
default-features = false

[dependencies.tinywasm-types]
version = "0.9.0-alpha.0"
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = [
    "cargo_bench_support",
    "rayon",
]
default-features = false

[dev-dependencies.eyre]
version = "0.6"

[dev-dependencies.owo-colors]
version = "4.3"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.wasm-testsuite]
version = "0.7"

[dev-dependencies.wat]
version = "1.247"