chore: add support for cargo binstall

This commit is contained in:
JasterV 2026-02-11 12:21:05 +01:00
parent 322ba2a355
commit b32827a903
3 changed files with 14 additions and 2 deletions

View file

@ -5,7 +5,7 @@ permissions:
on:
release:
types: [published, created]
types: [created]
jobs:
upload-assets:

View file

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## `granc` - [0.7.2](https://github.com/JasterV/granc/compare/granc-v0.7.1...granc-v0.7.2) - 2026-02-06
- [chore] Add support for cargo binstall
## `granc` - [0.7.1](https://github.com/JasterV/granc/compare/granc-v0.7.0...granc-v0.7.1) - 2026-02-06
- [feat] Add a new command to generate markdown documentation for gRPC services ([#46](https://github.com/JasterV/granc/pull/46))

View file

@ -11,7 +11,15 @@ publish = true
readme = "../README.md"
repository = { workspace = true }
rust-version = { workspace = true }
version = "0.7.1"
version = "0.7.2"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ target }.{ archive-format }"
bin-dir = "{ name }-{ target }/{ bin }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[dependencies]
clap = { version = "4.5.56", features = ["derive"] }