Skip to content

Commit 71ab298

Browse files
authored
Merge pull request #1239 from NobodyXu/binstall
Add `cargo-binstall` support for gitoxide
2 parents b382f76 + d5976b3 commit 71ab298

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,7 @@ faster-hex = { version = "0.9.0" }
308308

309309
[package.metadata.docs.rs]
310310
features = ["document-features", "max"]
311+
312+
[package.metadata.binstall]
313+
pkg-url = "{ repo }/releases/download/v{ version }/gitoxide-max-pure-v{ version }-{ target }{ archive-suffix }"
314+
bin-dir = "gitoxide-max-pure-v{ version }-{ target }/{ bin }{ binary-ext }"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ Our [stability guide] helps to judge how much churn can be expected when dependi
161161

162162
### Download a Binary Release
163163

164-
Using `cargo quickinstall`, one is able to fetch [binary releases][releases]. You can install it via `cargo install cargo-quickinstall`, assuming
164+
Using `cargo binstall`, one is able to fetch [binary releases][releases]. You can install it via `cargo install cargo-quickinstall`, assuming
165165
the [rust toolchain][rustup] is present.
166166

167-
Then install gitoxide with `cargo quickinstall gitoxide`.
167+
Then install gitoxide with `cargo binstall gitoxide`.
168168

169169
See the [releases section][releases] for manual installation and various alternative builds that are _slimmer_ or _smaller_, depending
170170
on your needs, for _Linux_, _MacOS_ and _Windows_.

0 commit comments

Comments
 (0)