From 5433a6cc0286eb760bb408f8584d076fe867ab4c Mon Sep 17 00:00:00 2001 From: J / Jacob Babich Date: Sat, 19 Oct 2024 13:55:44 -0400 Subject: [PATCH] Add metadata for Binstall so that it can download binaries immediately (without brute forcing to find the correct URL) --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 00d28014..f12a8160 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,9 @@ rust-version = "1.78" [package.metadata.release] tag-name = "v{{version}}" +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }{ archive-suffix }" + [dependencies] bisector = "0.4.0" # bisection with a custom comparator camino = "1.1" # utf-8 paths