libarchive_oxide 0.2.0

Pure-Rust archive detection, compression, extraction, and creation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: 2026 libarchive_oxide contributors
//
// SPDX-License-Identifier: MIT OR Apache-2.0

//! ZIP-specific options shared by the streaming adapters.

/// Compression method used for a streaming ZIP entry.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[non_exhaustive]
pub enum ZipMethod {
    /// Store bytes without compression.
    Store,
    /// Encode bytes as raw DEFLATE.
    Deflate,
}