Skip to content

Commit a21ecb8

Browse files
committed
Add instructions for installing with cargo
1 parent c31ab84 commit a21ecb8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ anstyle = "1.0.3"
3333
# utils
3434
indoc = "2.0"
3535
itertools = "0.11"
36+
37+
[package.metadata.binstall]
38+
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.tar.gz"
39+
bin-dir = "{ bin }{ binary-ext }"
40+
pkg-fmt = "tgz"

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Install from a github release:
1414

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

17+
Install using cargo:
18+
19+
`cargo install yamine` OR `cargo binstall yamine`
20+
1721
or
1822

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

0 commit comments

Comments
 (0)