#bom #apple #macos #pkg

bin+lib apple-bom

Apple Bill of Materials (BOM) data format

1 unstable release

0.2.0 Nov 6, 2023

#1209 in Parser implementations


1.5K SLoC


This crate supports parsing and serializing Apple Bill of Materials (BOM) files. These files are typically encountered in Apple .pkg installers.

This crate is a work in progress and doesn't yet implement all features correctly. Contributions are much welcomed.


Interact with Apple BOM files.

Apple Bill of Materials (BOM) files are a file format / data structure for indexing file content with additional metadata. They are commonly found in flat packages (e.g. .pkg files).

This crate provides an interface for reading and writing Apple BOM files.

The gateway to reading support is [ParsedBom], which provides a read-only interface to a BOM data structure.

Writing support is still a work in progress.


~56K SLoC