use-ar 0.1.0

Unix ar archive labels, extensions, and entry metadata primitives for RustUse
Documentation
  • Coverage
  • 100%
    19 out of 19 items documented1 out of 7 items with examples
  • Size
  • Source code size: 7.06 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 457.04 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-ar

Unix ar archive labels, entry kinds, and extension helpers.

This crate is part of the use-archive facade workspace. It exposes ar-specific primitive labels only. It does not parse static libraries, Debian packages, symbol tables, or archive members.

Example

use use_ar::{ArEntryKind, ArFormat, is_ar_filename};

assert!(is_ar_filename("libexample.a"));
assert_eq!(ArFormat::Gnu.as_str(), "gnu");
assert_eq!(ArEntryKind::SymbolTable.as_str(), "symbol-table");