remozipsy 0.0.1

zip implementation independent structs and helpers
Documentation
#[derive(Debug)]
pub struct Config {
    pub max_eocd_size: usize,
    pub max_parallel_downloads: usize,
    /// For efficient fetching we need to assume the size of the LocalHeader,
    /// when enabled, we just calculate the size of the LocalHeader by knowledge
    /// from the CentralDirectory Only enable this setting, when you know
    /// that this assumption is always valid, otherwise, we need to fetch more
    /// data, and prob discard some of it again.
    pub assume_cd_contains_lh_content: bool,
}

impl Default for Config {
    fn default() -> Self {
        Self {
            max_eocd_size: 50_000,
            max_parallel_downloads: 8,
            assume_cd_contains_lh_content: false,
        }
    }
}