Skip to content
Tags give the ability to mark specific points in history as being important
  • v0.6.0 protected
    39f0590e · Various code cleanups ·
    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
    8b565b51 · Update version to 0.5.0. ·
    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
    8cdd8c59 · Update version to 0.4.0. ·
    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
    5e88d855 · Update version to 0.3.1. ·
    Changes:
        - simg_dump: Dump everything we know about the sparse file, even if
          there was an error during parsing.
  • v0.3.0 protected
    d7fefe84 · Update version to 0.3.0. ·
    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
    42659f71 · Update version to 0.2.0. ·
    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
    28082dd4 · Update version to 0.1.1. ·
    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.