j2k 0.7.0
j2k 0.7.0
This release hardens the CPU, Metal, and CUDA codec paths around typed errors, fallible allocation, ownership, resource lifetime, and exact backend parity.
Highlights
- Source-preserving typed errors across native, facade, transcode, Metal, and CUDA boundaries.
- Transactional allocation accounting and actual-capacity limits for large host and device owners.
- Checked Metal and CUDA resource construction, retention, synchronization, and readback paths.
- Consolidated JPEG planning/cache ownership and hardened J2K/HTJ2K parsing, packetization, and encode/decode contracts.
- Exact CPU, Auto, Apple Silicon Metal, and NVIDIA CUDA validation on the release SHA.
- Release-critical changed-line coverage above 80% on both accelerator lanes.
Compatibility
0.7.0 intentionally contracts portions of the pre-1.0 0.6.2 API. See the full changelog and migration notes and reviewed public API diff.
cargo add j2k@0.7.0Verified source: 11299327a0b17a808ca7bef3ae1e41385a895187.