use-cpio 0.1.0

CPIO archive labels, extensions, and entry metadata primitives for RustUse
Documentation
  • Coverage
  • 100%
    24 out of 24 items documented1 out of 7 items with examples
  • Size
  • Source code size: 7.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 468.05 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s 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-cpio

CPIO archive labels, entry kinds, and extension helpers.

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

Example

use use_cpio::{CpioEntryKind, CpioFormat, is_cpio_filename};

assert!(is_cpio_filename("initramfs.cpio.gz"));
assert_eq!(CpioFormat::NewAscii.as_str(), "new-ascii");
assert_eq!(CpioEntryKind::Symlink.as_str(), "symlink");