Merge pull request #2150 from nyurik/binstall

fix: point cargo-binstall at the fd release asset
This commit is contained in:
Thayne McCombs authored and GitHub committed 2026-10-05 19:06:39 -06:00
commit b010841c6d
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
- Accept `--format` templates that start with `-` when passed as a separate argument, see #2126 (@vulragrag-star)
- Don't incorrectly escape newlines in error messages, see #2104
- Restore jemalloc as default allocator on supported systems
- Fix the `cargo binstall` release URL, which named the crate (`fd-find`) instead of the binary (`fd`) and fell back to a third-party mirror
# 10.5.0
+1 -1
View File
@@ -98,7 +98,7 @@ base = ["use-jemalloc"]
default = ["use-jemalloc", "completions"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.{ archive-format }"
pkg-url = "{ repo }/releases/download/v{ version }/fd-v{ version }-{ target }.{ archive-format }"
bin-dir = "{ bin }-v{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"