From 724a389b238b81dc430e00a16195e2f1a262cf3c Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Tue, 22 Aug 2023 07:10:10 +0200 Subject: [PATCH] chore: add support for `cargo-binstall` (#829) --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 70b96a2..c65c4e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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