Skip to content

feat: Implement --branch, --tag and --rev #1165

@NobodyXu

Description

@NobodyXu

Yeah and that will be compatible with cargo-install:

       --git url
           Git URL to install the specified crate from.

       --branch branch
           Branch to use when installing from git.

       --tag tag
           Tag to use when installing from git.

       --rev sha
           Specific commit to use when installing from git.

so we would have to at least support --branch/--tag/--rev just like cargo-install.

I think cargo-install finds the Cargo.toml by the package name, so we can also do that in cargo-binstall.

Originally posted by @NobodyXu in #1162 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Blocked: upstreamFix or feature is needed to be implemented upstream (in a dependency)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions