Commit Graph
9 Commits
Author SHA1 Message Date
Dylan M. Taylor 76deeb796c Keep one tracked-parts alias after parent merge 2026-11-15 18:45:17 +00:00
Dylan M. Taylor ebc5682aa8 Merge commit 'd292422de' into codex/format-owned-archive
# Conflicts:
#	crates/format/src/container.rs
2026-11-15 18:45:02 +00:00
Dylan M. Taylor d292422de9 Format container entry validation condition 2026-11-15 18:44:43 +00:00
Dylan M. Taylor e7934eaaba Fix format container Clippy diagnostics 2026-11-15 18:38:57 +00:00
Dylan M. Taylor c198e559a6 fix: resolve 4 clippy errors in format crate 2026-11-15 13:04:03 -05:00
Dylan M. Taylor 182d47f610 Keep container bytes in owned ZIP archive 2026-11-15 17:57:48 +00:00
Dylan M. Taylor 1b79c4b83a Record format dependencies and normalize container formatting 2026-11-15 17:48:05 +00:00
Dylan M. Taylor 0a90922351 fix: rewrite container.rs for craft-zip public API
- Archive::open() instead of ZipArchive constructor
- Writer::add(name, data, compression) instead of start_file+write_all
- Archive::entry_name() for name iteration (no file_names iterator)
- Archive::contains(), declared_size(), read(name, max) for entry access
- Reader no longer generic over Read+Seek; reads all bytes into memory
  (needed because Archive<'a> borrows 'static bytes)
- Thumbnail::read no longer generic
2026-11-15 11:33:19 -05:00
Dylan M. Taylor 58854566ed feat: add craft-format (versioned JSON file formats)
Port from solidcraft: versioned JSON file format system with:
- Format families with hand-written upgrade steps and folded formats
- Pending changes that auto-number on release
- Container format: content-addressed blobs (SHA-256) in ZIP packages
- Newer file handling: read what you can, keep the rest

No external dependencies beyond serde_json and craft-zip.
Hostile-input bounded reading: sizes, counts, nesting capped.
2026-11-15 11:10:39 -05:00