rust-version = "1.92" in [workspace.package], inherited by every crate. 1.92 is the floor: wgpu (clawhdf5-gpu) requires it, and the whole workspace, Python bindings included, checks cleanly on it. ci-test.sh reads the version from Cargo.toml and checks the workspace on exactly that toolchain, so the manifests and the README badge cannot drift from what actually builds. The badge said 1.75, below edition 2024's own floor. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
clawhdf5-filters
Filter and compression pipeline for clawhdf5.
Features
- DEFLATE compression/decompression
- Pure-Rust deflate via zlib-rs (default,
zlib-rsfeature) - zlib-ng instead, if you want it (
fast-deflatefeature; C, needs cmake) - Apple Compression framework support (
apple-compressionfeature)
Usage
use clawhdf5_filters::{deflate_compress, deflate_decompress};
let compressed = deflate_compress(&data, 6).unwrap();
// The second argument bounds the output: the expected decompressed size.
let decompressed = deflate_decompress(&compressed, data.len()).unwrap();
License
MIT