From ca0f58ce708045f5ec4b6cf299154d9a83996cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sat, 20 May 2023 21:34:07 +0300 Subject: [PATCH] Add metadata for cargo-binstall --- lychee-bin/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lychee-bin/Cargo.toml b/lychee-bin/Cargo.toml index 3161585e3b..8bd8f4d982 100644 --- a/lychee-bin/Cargo.toml +++ b/lychee-bin/Cargo.toml @@ -87,3 +87,9 @@ check_example_domains = ["lychee-lib/check_example_domains"] name = "cli" path = "tests/cli.rs" required-features = ["check_example_domains"] + +# metadata for cargo-binstall to get the right artifacts +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }" +bin-dir = "{ bin }{ binary-ext }" +pkg-fmt = "tgz"