use-cab 0.1.0

Microsoft Cabinet archive labels, extensions, and compression metadata for RustUse
Documentation
  • Coverage
  • 100%
    16 out of 16 items documented1 out of 7 items with examples
  • Size
  • Source code size: 6.82 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 449.17 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-cab

Microsoft Cabinet archive labels, compression method labels, and extension helpers.

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

Example

use use_cab::{CabCompressionMethod, CabFormat, is_cab_filename};

assert!(is_cab_filename("driver.cab"));
assert_eq!(CabFormat::Cabinet.as_str(), "cabinet");
assert_eq!(CabCompressionMethod::Lzx.as_str(), "lzx");