Commits
2026-08-14
build(shims): every shim manifest stands on its ownAhmet Kaan Gümüş · a132a9d
build(shims): every shim manifest stands on its own Shims are built by the consumer as path dependencies, from outside this workspace. Any inherited field (`edition.workspace`, and the family's dep table) makes that build read this workspace's root manifest, so a root that does not parse -- mid-edit, mid-rename, a member being created -- breaks the consumer's build for a reason that has nothing to do with the shim. Measured, not assumed: with an unparseable root, a shim carrying `edition.workspace = true` fails with "invalid potential workspace manifest" and the same shim with literal fields builds. A member whose manifest has no source file does not break it either way -- cargo loads only the members it needs. So every shim now spells out edition, license, authors and its `ec-*` dependencies as relative paths; `flacenc` already did, and the rest match it. Check: `cargo check --manifest-path shims/<name>/Cargo.toml` for all twelve.
feat(inflate): DEFLATE/zlib decompression + miniz_oxide shimAhmet Kaan Gümüş · b73c680
feat(inflate): DEFLATE/zlib decompression + miniz_oxide shim ec-inflate decodes RFC 1951 blocks (stored, fixed, dynamic) through a two-level Huffman table and wraps them in the RFC 1950 header check and Adler-32 verification. Every entry point carries the caller's output ceiling, checked before each write, so a crafted block fails with an error instead of taking all the memory there is; malformed input is always an error, never a panic. shims/miniz_oxide carries the incumbent name and version over it, exposing the one function edith's Matroska ContentEncodings path uses, with the same statuses and message strings so the swap needs no source change. Tests: round-trip against flate2 at levels 0-9 over seven input shapes (raw and zlib), ceiling boundaries with partial output preserved, truncation, Adler-32 mismatch, and a 10k-iteration mutation loop that must never panic.