Fix bin metadata (#369)

This commit is contained in:
Félix Saparelli 2022-09-11 00:07:19 +12:00 committed by GitHub
parent 9372ea4e53
commit 62dc435e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
[package]
name = "cargo-binstall"
description = "Rust binary package installer for CI integration"
repository = "https://github.com/ryankurte/cargo-binstall"
repository = "https://github.com/cargo-bins/cargo-binstall"
documentation = "https://docs.rs/cargo-binstall"
version = "0.13.0"
rust-version = "1.61.0"
@ -9,7 +9,10 @@ authors = ["ryan <ryan@kurte.nz>"]
edition = "2021"
license = "GPL-3.0"
# These MUST remain even if they're not needed in recent versions because
# OLD versions use them to upgrade
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
bin-dir = "{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]