[package]
edition = "2021"
rust-version = "1.97"
name = "crush-gpu"
version = "0.2.0"
authors = ["Crush Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU-accelerated tile-based compression engine with 32-way parallel decompression"
homepage = "https://github.com/john-agentic-ai-tools/crush"
readme = "README.md"
license = "MIT"
repository = "https://github.com/john-agentic-ai-tools/crush"
[features]
cuda = ["dep:cudarc"]
default = []
[lib]
name = "crush_gpu"
path = "src/lib.rs"
[[test]]
name = "backend"
path = "tests/backend.rs"
[[test]]
name = "cuda_integration"
path = "tests/cuda_integration.rs"
[[test]]
name = "eligibility"
path = "tests/eligibility.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "gdeflate"
path = "tests/gdeflate.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[bench]]
name = "ratio"
path = "benches/ratio.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.bytemuck]
version = "1.25"
features = ["derive"]
[dependencies.crc32fast]
version = "1.5"
[dependencies.crush-core]
version = "0.3.0"
[dependencies.cudarc]
version = "0.19.8"
features = ["cuda-13010"]
optional = true
[dependencies.linkme]
version = "0.3.37"
[dependencies.memmap2]
version = "0.9.11"
[dependencies.pollster]
version = "1.0"
[dependencies.rayon]
version = "1.12"
[dependencies.thiserror]
version = "2.0.19"
[dependencies.tracing]
version = "0.1.44"
[dependencies.wgpu]
version = "30.0"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.tempfile]
version = "3.27"
[lints.clippy]
all = "deny"
expect_used = "deny"
panic = "deny"
panic_in_result_fn = "deny"
pedantic = "warn"
unwrap_used = "deny"