Files
clawhdf5/crates/clawhdf5-gpu/Cargo.toml
Omar Sobh 534331ffbe
CI / test (push) Failing after 13s
chore: Tier 4d — hoist tempfile/criterion/half/serde to workspace.dependencies
Add [workspace.dependencies] to the root Cargo.toml for the four
duplicated-across-many-crates dependencies flagged by the earlier review:
tempfile (7 crates), criterion (6), half (4 — real version skew, clawhdf5-gpu
pinned 2.7 while others used bare 2), and serde (4). Update every consuming
crate to `dep = { workspace = true }`, preserving crate-local `optional =
true` where it already existed. half now resolves uniformly to 2.7.x
workspace-wide instead of two separate semver ranges.

Also fixed clawhdf5-filters/Cargo.toml's stale "rustyhdf5" description
while touching the file (same class of leftover rename as prior fixes).

Not touching rayon/byteorder/clap (no skew found, lower priority).
2026-08-05 13:12:17 -07:00

38 lines
929 B
TOML

[package]
name = "clawhdf5-gpu"
version = "2.1.0"
edition = "2024"
description = "GPU-accelerated vector operations for rustyhdf5 using wgpu compute shaders"
license = "MIT"
repository = "https://github.com/redclawsystems/clawhdf5"
readme = "README.md"
keywords = ["hdf5", "gpu", "wgpu", "compute"]
categories = ["science", "graphics"]
[dependencies]
wgpu = { version = "28", optional = true }
half = { workspace = true, optional = true }
pollster = { version = "0.4", optional = true }
bytemuck = { version = "1", features = ["derive"], optional = true }
thiserror = "2"
log = "0.4"
[dev-dependencies]
criterion = { workspace = true }
rand = "0.8"
approx = "0.5"
pollster = "0.4"
env_logger = "0.11"
[[bench]]
name = "bench"
harness = false
[features]
default = ["gpu-wgpu"]
gpu-wgpu = ["dep:wgpu", "dep:pollster", "dep:bytemuck", "dep:half"]
[package.metadata.docs.rs]
features = []
targets = ["x86_64-unknown-linux-gnu"]