Add support for cargo-binstall to Cargo.toml

Add support for cargo-binstall to find github release builds.
This commit is contained in:
JCallicoat 2023-03-23 19:44:31 -05:00 committed by andy.boot
parent bdfd3c01a5
commit c259d3b566
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ clap_mangen = "0.1"
name = "integration" name = "integration"
path = "tests/tests.rs" path = "tests/tests.rs"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/dust-v{ version }-{ target }{ archive-suffix }"
bin-dir = "dust-v{ version }-{ target }/{ bin }{ binary-ext }"
[package.metadata.deb] [package.metadata.deb]
section = "utils" section = "utils"
assets = [ assets = [