chore: add support for cargo-binstall (#829)

This commit is contained in:
simonsan 2023-08-22 07:10:10 +02:00 committed by GitHub
parent 7338c8d26c
commit 724a389b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,8 +239,14 @@ pretty_assertions = "1.4"
toml = "0.7"
dircmp = "0.2"
# see: https://nnethercote.github.io/perf-book/build-configuration.html
# cargo-binstall support
# https://github.com/cargo-bins/cargo-binstall/blob/HEAD/SUPPORT.md
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ repo }-v{ version }-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tar.gz"
# see: https://nnethercote.github.io/perf-book/build-configuration.html
[profile.dev]
opt-level = 0
debug = true