Files
clawhdf5/crates/clawhdf5-filters
osobhandClaude Opus 5.5 fc7ae6549a
CI / test-arm64 (pull_request) Successful in 1m19s
CI / test (pull_request) Successful in 5m23s
build: declare Rust 1.92 as the MSRV and check it in CI
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]>
2026-09-23 11:05:26 -05:00
..

clawhdf5-filters

crates.io docs.rs

Filter and compression pipeline for clawhdf5.

Features

  • DEFLATE compression/decompression
  • Pure-Rust deflate via zlib-rs (default, zlib-rs feature)
  • zlib-ng instead, if you want it (fast-deflate feature; C, needs cmake)
  • Apple Compression framework support (apple-compression feature)

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