Skip to content

tarball: Add support for uncompressing crate files

Rust crate files are standard tar.gz archives so add support to uncompress them through shutil.register_unpack_format.

For the record, those kind of source files archive are processed by the nixguix loader, see that sentry issue report for instance.

Test Plan

Small crate file has been added in tests data and existing test has been adapted.


Migrated from D6271 (view on Phabricator)

Merge request reports