use-7z 0.1.0

7-Zip archive labels, extensions, and compression method metadata for RustUse
Documentation
  • Coverage
  • 100%
    20 out of 20 items documented1 out of 7 items with examples
  • Size
  • Source code size: 7.95 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 462.02 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-archive
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-7z

7-Zip archive labels, compression method labels, and extension helpers.

This crate is part of the use-archive facade workspace. It exposes 7-Zip-specific primitive labels only. It does not parse 7z headers, handle encryption, read archives, write archives, or extract files.

Example

use use_7z::{SevenZipCompressionMethod, SevenZipFormat, is_7z_filename};

assert!(is_7z_filename("bundle.7z"));
assert!(is_7z_filename("bundle.7z.001"));
assert_eq!(SevenZipFormat::SevenZip.as_str(), "7z");
assert_eq!(SevenZipCompressionMethod::Lzma2.as_str(), "lzma2");