Expand description
§use-zip
ZIP compression method labels and numeric method codes.
This crate is part of the use-archive facade workspace. It provides ZIP-specific primitive labels only. It does not parse central directories, read ZIP archives, write ZIP archives, or extract files.
§Example
use use_zip::ZipCompressionMethod;
assert_eq!(ZipCompressionMethod::from_code(8), ZipCompressionMethod::Deflated);
assert_eq!(ZipCompressionMethod::Zstd.code(), 93);ZIP compression method labels for RustUse.
Enums§
- ZipCompression
Method - ZIP compression methods.
Constants§
- ZIP_
EXTENSION - Common ZIP file extension.