-
v0.6.0 protected
android-sparse version 0.6.0 Changes: - Updated code to the Rust 2021 edition. - Made the implementation generic over `Read`/`Write` types, instead of limiting it to `File`s.
-
v0.5.0 protected
android-sparse version 0.5.0 Changes: - Complete architecture redesign. Readers and writers now produce and work on sparse blocks instead of a sparse file representation. - Drop the simg_dump command. - Significant performance improvements when writing Skip blocks and checking if a block is sparse. - Add unit and integration tests. - Disable unneeded Clap features. - Ensure writers's `finish` method is always invoked at the end, by implementing `Drop`. - Enable simg2img to decode multiple sparse images into a single raw image.
-
v0.4.0 protected
Changes: - Remove some unneeded public methods of File and Chunk. - Add docstrings. - Share file references via Rc<RefCell<File>> instead of cloning to avoid having too many open file handles. - Change project license to MIT only.
-
v0.3.1 protected
Changes: - simg_dump: Dump everything we know about the sparse file, even if there was an error during parsing.
-
v0.3.0 protected
Changes: - Add a new constants module that provides publically accessible constants of the sparse format. - Add the simg_dump util for displaying sparse file info. - The Reader now adds Crc32 chunks to the sparse file. - Add a README.md and license texts. - Switch to clap for command line argument parsing. - Hide CRC checksum calculation/checking of img2simg/simg2img behind a --crc flag.
-
v0.2.0 protected
Changes: - Major refactorings an API changes. - Fix sparse file block size to 4096 bytes. - Remove support for reading from generic Read implementers. Only reading from Files is supported now. - Instead of the add_{raw,fill,...} methods, a sparse File now only has a single add_chunk method. Merging of Chunks is now done by the Encoder instead of File. - Support for CRC writing by Writer and CRC checking by Reader.
-
v0.1.1 protected
Changes: - Pull TryFrom and TryInto from the standard library into this crate. This removes the dependency on the nightly compiler.
-
v0.1.0 protected
Initial release of android-sparse. Supports reading and writing of sparse files, as well as encoding raw files to sparse files and vice versa. Also provides the CLI utils img2simg and simg2img for converting between raw and sparse files.