use-mtree 0.1.0

mtree manifest labels, extensions, and entry metadata primitives for RustUse
Documentation
  • Coverage
  • 100%
    29 out of 29 items documented1 out of 9 items with examples
  • Size
  • Source code size: 8.56 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 549.08 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-mtree

mtree manifest labels, entry kinds, keyword labels, and extension helpers.

This crate is part of the use-archive facade workspace. It exposes mtree primitive labels only. It does not parse mtree manifests, inspect filesystems, verify hashes, or generate manifests.

Example

use use_mtree::{MtreeEntryKind, MtreeFormat, MtreeKeyword, is_mtree_filename};

assert!(is_mtree_filename("manifest.mtree.gz"));
assert_eq!(MtreeFormat::FreeBsd.as_str(), "freebsd");
assert_eq!(MtreeEntryKind::Directory.as_str(), "directory");
assert_eq!(MtreeKeyword::Sha256Digest.as_str(), "sha256digest");