diff --git a/Cargo.toml b/Cargo.toml index 12b280e..2903f0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/README.md b/README.md index 6b189c1..dc6e612 100644 --- a/README.md +++ b/README.md @@ -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)