-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow using cargo-binstall
/ cargo-quickinstall
to download install_crate
dependencies
#674
Comments
good idea. I'll check it out |
@dbanty can you checkout the dev branch 0.35.16 for this? |
Hmm, I'm still seeing the same error 🤔 I could have done something wrong though. I installed the new version like Replaced package `cargo-make v0.35.15` with `cargo-make v0.35.15 (https://github.com/sagiegurari/cargo-make?branch=0.35.16#7b52723d)` (executables `cargo-make`, `makers`) I then uninstalled [tasks.mdbook.install_crate]
crate_name = "mdbook"
binary = "mdbook"
test_arg = "--help"
install_command = "quickinstall"
force = false When running a
|
thanks and sorry about that. i'll check it out tomorrow. didn't have time to setup tests... |
No problem, thanks for working on this! |
@dbanty it should work well now with your usecase. |
@dbanty this is now officially released. if there are any issues with it, feel free to open an issue and I'll handle. |
Feature Description
Building crates from scratch can be slow—luckily
cargo-quickinstall
andcargo-binstall
provide a solution! Popular crates (in the case of quickinstall) or crates that opt-in to the right format (in the case of binstall) can be downloaded as prebuilt binaries! I'd love to be able to useinstall_crate
in myMakefile.toml
while leveraging one of those tools; unfortunately, neither of them have a--force
flag, so I can't get this to work.Describe The Solution You'd Like
Add a
no_force
flag or similar toinstall_crate
to allow omitting the--force
flag so thatinstall_command = "binstall"
will work.Code Sample
Today, the output is:
The text was updated successfully, but these errors were encountered: