android-sparse 0.5.0

An implementation of Android's sparse file format.
Documentation
//! An implementation of Android's sparse file format.
//!
//! Enables reading and writing sparse images, as well as encoding from and
//! decoding to raw images:
//!
//! ```text
//!  --------               --------                -------
//! | sparse | --Reader--> | sparse | --Decoder--> | raw   |
//! | image  | <--Writer-- | blocks | <--Encoder-- | image |
//!  --------               --------                -------
//! ```

#![deny(missing_docs)]

extern crate byteorder;
extern crate crc;

#[cfg(test)]
extern crate tempfile;

pub mod block;
pub mod read;
pub mod result;
pub mod write;

mod ext;
mod headers;

pub use block::Block;
pub use read::{Encoder, Reader};
pub use result::Result;
pub use write::{Decoder, Writer};