From a11d6474d87fdf6c9c968d3a3476d7fc3870a477 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 4 Aug 2026 21:52:00 +0200 Subject: [PATCH] grep: add cargo-binstall metadata --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 2461def..22ecfef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,14 @@ homepage = "https://github.com/uutils/grep" keywords = ["grep", "uutils", "cross-platform", "cli", "utility"] categories = ["command-line-utilities"] +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }" +bin-dir = "{ bin }{ binary-ext }" +pkg-fmt = "txz" + +[package.metadata.binstall.overrides.x86_64-pc-windows-msvc] +pkg-fmt = "zip" + [[bin]] name = "grep" path = "src/main.rs"