[package]
edition = "2021"
rust-version = "1.78"
name = "tensor-wasm-exec"
version = "0.3.8"
authors = ["Craton Software Company <security@craton.com.ar>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wasmtime + Tokio async execution engine for TensorWasm instances."
homepage = "https://github.com/craton-co/craton-tensor-wasm"
documentation = "https://docs.rs/tensor-wasm-exec"
readme = "README.md"
keywords = [
"wasm",
"wasmtime",
"executor",
"runtime",
"gpu",
]
categories = [
"wasm",
"concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/craton-co/craton-tensor-wasm"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cuda = ["tensor-wasm-wasi-gpu/cuda"]
[lib]
name = "tensor_wasm_exec"
path = "src/lib.rs"
[[test]]
name = "auto_offload_consult"
path = "tests/auto_offload_consult.rs"
[[test]]
name = "auto_offload_swap"
path = "tests/auto_offload_swap.rs"
[[test]]
name = "cache_bounds"
path = "tests/cache_bounds.rs"
[[test]]
name = "call_export_with_args"
path = "tests/call_export_with_args.rs"
[[test]]
name = "classify_error_phrasing_pinned"
path = "tests/classify_error_phrasing_pinned.rs"
[[test]]
name = "concurrent_instances"
path = "tests/concurrent_instances.rs"
[[test]]
name = "deadline_rearm_per_call"
path = "tests/deadline_rearm_per_call.rs"
[[test]]
name = "epoch_timeout"
path = "tests/epoch_timeout.rs"
[[test]]
name = "instance_pool_invoke"
path = "tests/instance_pool_invoke.rs"
[[test]]
name = "instance_pool_scaffold"
path = "tests/instance_pool_scaffold.rs"
[[test]]
name = "jit_dispatch_per_store"
path = "tests/jit_dispatch_per_store.rs"
[[test]]
name = "max_instances_capacity"
path = "tests/max_instances_capacity.rs"
[[test]]
name = "max_memory_enforcement"
path = "tests/max_memory_enforcement.rs"
[[test]]
name = "max_table_growth_enforcement"
path = "tests/max_table_growth_enforcement.rs"
[[test]]
name = "module_memory_too_large"
path = "tests/module_memory_too_large.rs"
[[test]]
name = "module_too_large_rejected"
path = "tests/module_too_large_rejected.rs"
[[test]]
name = "orphan_cleanup_on_drop"
path = "tests/orphan_cleanup_on_drop.rs"
[[test]]
name = "panicking_guest"
path = "tests/panicking_guest.rs"
[[test]]
name = "per_tenant_cap"
path = "tests/per_tenant_cap.rs"
[[test]]
name = "pool_slot_accounting_regression"
path = "tests/pool_slot_accounting_regression.rs"
[[test]]
name = "proposal_flags_pinned"
path = "tests/proposal_flags_pinned.rs"
[[test]]
name = "same_instance_concurrent_calls"
path = "tests/same_instance_concurrent_calls.rs"
[[test]]
name = "scheduler_import_links"
path = "tests/scheduler_import_links.rs"
[[test]]
name = "spans_emitted"
path = "tests/spans_emitted.rs"
[[test]]
name = "spawn_config_args"
path = "tests/spawn_config_args.rs"
[[test]]
name = "spawn_refused_when_ticker_down"
path = "tests/spawn_refused_when_ticker_down.rs"
[[test]]
name = "start_fn_deadline_capped"
path = "tests/start_fn_deadline_capped.rs"
[[test]]
name = "trap_error_does_not_leak_host_paths"
path = "tests/trap_error_does_not_leak_host_paths.rs"
[[test]]
name = "wasm_compile_error"
path = "tests/wasm_compile_error.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.blake3]
version = "1"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.dashmap]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.lru]
version = "0.12"
[dependencies.parking_lot]
version = "0.12"
[dependencies.serde_json]
version = "1"
[dependencies.tensor-wasm-core]
version = "0.3.8"
[dependencies.tensor-wasm-jit]
version = "0.3.8"
[dependencies.tensor-wasm-mem]
version = "0.3.8"
[dependencies.tensor-wasm-wasi-gpu]
version = "0.3.8"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1.40"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.wasmparser]
version = "0.218"
[dependencies.wasmtime]
version = "45"
features = [
"async",
"cranelift",
"component-model",
"runtime",
"pooling-allocator",
"memory-protection-keys",
]
default-features = false
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
"fmt",
]
[dev-dependencies.wat]
version = "1"