Skip to content

Commit

Permalink
Add instructions for installing with cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenperera committed Nov 13, 2023
1 parent c31ab84 commit a21ecb8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ anstyle = "1.0.3"
# utils
indoc = "2.0"
itertools = "0.11"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Install from a github release:

`curl -LSfs https://avencera.github.io/yamine/install.sh | sh -s -- --git avencera/yamine`

Install using cargo:

`cargo install yamine` OR `cargo binstall yamine`

or

Download a release directly from github: [github.com/avencera/yamine/releases](https://github.com/avencera/yamine/releases)
Expand Down

0 comments on commit a21ecb8

Please sign in to comment.