tinywasm 0.11.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.98"
name = "tinywasm"
version = "0.11.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny WebAssembly interpreter"
homepage = "https://tinywasm.dev"
readme = "README.md"
keywords = [
    "interpreter",
    "no-std",
    "tinywasm",
    "wasm",
    "webassembly",
]
categories = [
    "compilers",
    "embedded",
    "no-std",
    "virtualization",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/explodingcamera/tinywasm"

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

[features]
archive = ["tinywasm-types/archive"]
canonicalize-nans = []
debug = ["tinywasm-types/debug"]
default = [
    "full",
    "std",
]
full = [
    "archive",
    "debug",
    "parallel-parser",
    "parser",
    "state",
    "validate",
]
guest-debug = []
log = [
    "dep:log",
    "tinywasm-parser?/log",
]
nightly-tail-calls = []
parallel-parser = ["tinywasm-parser?/parallel"]
parser = ["dep:tinywasm-parser"]
portable-atomic = [
    "dep:portable-atomic",
    "tinywasm-parser?/portable-atomic",
    "tinywasm-types/portable-atomic",
]
send = []
simd-x86 = []
state = []
std = [
    "tinywasm-parser?/std",
    "tinywasm-types/std",
]
validate = ["tinywasm-parser?/validate"]

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

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

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

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

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

[[test]]
name = "host_reentrancy"
path = "tests/host_reentrancy.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 = "managed_exceptions"
path = "tests/managed_exceptions.rs"

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

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

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

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

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

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

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

[[test]]
name = "store_state"
path = "tests/store_state.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"
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-gc"
path = "tests/test-wasm-gc.rs"
harness = false

[[test]]
name = "test-wasm-latest"
path = "tests/test-wasm-latest.rs"
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-relaxed-simd"
path = "tests/test-wasm-relaxed-simd.rs"
harness = false

[[test]]
name = "test-wasm-simd"
path = "tests/test-wasm-simd.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_gc_access"
path = "tests/typed_gc_access.rs"

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

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

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

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

[dependencies.portable-atomic]
version = "1.15.0"
optional = true
default-features = false

[dependencies.tinywasm-parser]
version = "0.11.0"
optional = true
default-features = false

[dependencies.tinywasm-types]
version = "0.11.0"
default-features = false

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

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

[lints.cargo]
unused_dependencies = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]