From 2ae0c33b9b6c577cacbeed02e6a68873194597ab Mon Sep 17 00:00:00 2001 From: rubyowo Date: Wed, 3 Apr 2024 11:09:10 +0000 Subject: [PATCH] feat: binstall support (#173) --- catwalk/Cargo.toml | 4 ++++ whiskers/Cargo.toml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/catwalk/Cargo.toml b/catwalk/Cargo.toml index 078ec6a0..d4b40c2e 100644 --- a/catwalk/Cargo.toml +++ b/catwalk/Cargo.toml @@ -11,6 +11,10 @@ edition = "2021" name = "catwalk" path = "src/main.rs" +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/catwalk-v{ version }/catwalk-{ target }{ archive-suffix }" +pkg-fmt = "bin" + [lib] crate-type = ["cdylib", "rlib"] diff --git a/whiskers/Cargo.toml b/whiskers/Cargo.toml index 251ffbdd..0d6544c8 100644 --- a/whiskers/Cargo.toml +++ b/whiskers/Cargo.toml @@ -17,6 +17,10 @@ path = "src/lib.rs" name = "whiskers" path = "src/main.rs" +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/whiskers-v{ version }/whiskers-{ target }{ archive-suffix }" +pkg-fmt = "bin" + [lints.clippy] all = "warn" pedantic = "warn"