tensor-wasm-wasi-gpu 0.3.8

`wasi-cuda` host bridge — explicit GPU kernel launch API for Wasm modules.
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 = "2021"
rust-version = "1.78"
name = "tensor-wasm-wasi-gpu"
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 = "`wasi-cuda` host bridge — explicit GPU kernel launch API for Wasm modules."
homepage = "https://github.com/craton-co/craton-tensor-wasm"
documentation = "https://docs.rs/tensor-wasm-wasi-gpu"
readme = "README.md"
keywords = [
    "wasm",
    "wasi",
    "cuda",
    "gpu",
    "wasmtime",
]
categories = [
    "wasm",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/craton-co/craton-tensor-wasm"

[package.metadata.docs.rs]
features = []

[features]
cuda = [
    "dep:cust",
    "tensor-wasm-mem/unified-memory",
]
default = []

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.cust]
version = "0.3"
features = ["bytemuck"]
optional = true
default-features = false

[dependencies.dashmap]
version = "6"

[dependencies.parking_lot]
version = "0.12"

[dependencies.tensor-wasm-core]
version = "0.3.8"

[dependencies.tensor-wasm-mem]
version = "0.3.8"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.wasmtime]
version = "45"
features = [
    "async",
    "cranelift",
    "component-model",
    "runtime",
]
default-features = false

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio-test]
version = "0.4"

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