phiresky / ripgrep-all

rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
Other
8.21k stars 177 forks source link

Add support for cargo binstall #236

Open yodatak opened 4 months ago

yodatak commented 4 months ago

Hello i think it work i try with the command and it seem to works

cargo binstall --pkg-url="{ repo }/releases/download/{ version }/{ name }-{ version }-{ target }.{ archive-format }"--pkg-fmt="txz"  ripgrep_all
phiresky commented 1 month ago

tbh I'm not sure whether we should "support" cargo install or this even, because we can not ship "dependencies" then, and rga is significantly less useful when you don't have pdftotext etc installed. For "advanced" users it's fine, but I don't really want more questions of the type "why does it not work for pdfs".

rg and afaik many other rust programs does not support cargo install as an official install method for the same reason.