tensor-wasm-jit 0.3.8

JIT pipeline: Cranelift detector, IR normalisation, PTX codegen, kernel cache, deopt.
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-jit"
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 = "JIT pipeline: Cranelift detector, IR normalisation, PTX codegen, kernel cache, deopt."
homepage = "https://github.com/craton-co/craton-tensor-wasm"
documentation = "https://docs.rs/tensor-wasm-jit"
readme = "README.md"
keywords = [
    "wasm",
    "jit",
    "gpu",
    "cuda",
    "ptx",
]
categories = [
    "wasm",
    "compilers",
    "concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/craton-co/craton-tensor-wasm"

[package.metadata.docs.rs]
features = [
    "auto-offload",
    "cuda-oxide-backend",
    "kernel-registry",
    "differential-oracle",
    "test-utils",
    "__unstable-test-internals",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
__unstable-test-internals = []
auto-offload = []
cuda-oxide-backend = ["dep:pliron"]
default = []
differential-oracle = []
kernel-registry = [
    "dep:hmac",
    "dep:sha2",
    "dep:serde",
    "dep:serde_json",
    "dep:bincode",
]
pliron-llvm-backend = [
    "cuda-oxide-backend",
    "dep:pliron-llvm",
]
test-utils = []

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

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

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

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

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

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

[[test]]
name = "cache_verify_opt_out"
path = "tests/cache_verify_opt_out.rs"
required-features = ["__unstable-test-internals"]

[[test]]
name = "differential_proptest"
path = "tests/differential_proptest.rs"
required-features = ["differential-oracle"]

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

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

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

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

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

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

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

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

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

[[test]]
name = "lowering_e2e"
path = "tests/lowering_e2e.rs"
required-features = [
    "cuda-oxide-backend",
    "test-utils",
]

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

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

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

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

[dependencies.bincode]
version = "2"
features = ["serde"]
optional = true

[dependencies.blake3]
version = "1"

[dependencies.cranelift-codegen]
version = "0.111"

[dependencies.dashmap]
version = "6"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.lru]
version = "0.12"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pliron]
version = "0.15"
optional = true

[dependencies.pliron-llvm]
version = "0.15"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.subtle]
version = "2"

[dependencies.tempfile]
version = "3"

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

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

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.wasm-encoder]
version = "0.218"
features = ["wasmparser"]

[dependencies.wasmparser]
version = "0.218"

[dependencies.zeroize]
version = "1"
features = ["zeroize_derive"]

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

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

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