use-bzip2 0.1.0

Bzip2 compression labels, extensions, and option metadata for RustUse
Documentation
  • Coverage
  • 100%
    31 out of 31 items documented1 out of 11 items with examples
  • Size
  • Source code size: 9.04 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 549.97 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s 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-bzip2

Bzip2 labels, extensions, and option metadata.

This crate is part of the use-archive facade workspace. It describes bzip2-related labels and options only. It does not compress, decompress, read bzip2 streams, or write bzip2 streams.

Example

use use_bzip2::{Bzip2Level, Bzip2Profile, is_bzip2_filename};

assert!(is_bzip2_filename("release.tar.bz2"));
assert_eq!(Bzip2Level::Best.as_str(), "best");
assert_eq!(Bzip2Profile::Compatibility.as_str(), "compatibility");