Skip to content

Support non-tar'd .gz files as a package format #2119

@LikeLakers2

Description

@LikeLakers2

Hi! Whilst trying to add some binstall metadata to taplo-cli, I came across an issue. Specifically, taplo-cli is released in a non-tar'd .gz format for all platforms (except Windows, which uses .zip).

Unfortunately, I found that cargo-binstall has no supported pkg-fmt option for just .gz. Looking over the formats that cargo-binstall supports, it seems to assume that if .gz is used, then we'll also be using a .tar.

With cargo-binstall already using some dependencies to extract .gz files, I would think that including support for non-tar'd .gz files would be trivial to add. You could probably even add the same sort of support to .bz2, .xz, and .zst files.

So if it isn't too unreasonable, perhaps this could be done?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions