Skip to content

Commit

Permalink
feat: binstall support (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubyowo authored Apr 3, 2024
1 parent a6be59f commit 2ae0c33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions catwalk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
4 changes: 4 additions & 0 deletions whiskers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2ae0c33

Please sign in to comment.