cargo-bins / cargo-binstall

Binary installation for rust projects
GNU General Public License v3.0
1.63k stars 61 forks source link

Fix v1 manifest format for git #1815

Closed NobodyXu closed 4 months ago

NobodyXu commented 4 months ago

@nabijaczleweli I didn’t realize there were hidden files here ^^'

[v1]
# …
"markdown-oxide 0.23.1 (registry+https://github.com/rust-lang/crates.io-index)" = ["markdown-oxide"]

I guess I have to change this to (git+https://github.com/feel-ix-343/markdown-oxide) or something?

Originally posted by @fnuttens in https://github.com/nabijaczleweli/cargo-update/issues/261#issuecomment-2221441704

NobodyXu commented 4 months ago

I tried using cargo-install --git to install and it gives me:

[v1]
"cargo-binstall 1.7.4 (git+https://github.com/cargo-bins/cargo-binstall#a92ad4952f2e6c5c9bd8c6f704a15931d082360d)" = ["cargo-binstall"]

so it looks like we just need to change the registry part to git, with the repo and the commit hash