mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
- 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