Skip to content

Commit

Permalink
Feat(cargo): Implement per-pkg binstall support
Browse files Browse the repository at this point in the history
As part of #16.

Signed-off-by: Paul Mabileau <paulmabileau@hotmail.fr>
  • Loading branch information
PaulDance committed Dec 23, 2024
1 parent 9e959fc commit 6cfd167
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,10 @@ pub fn install_all(
pkg_name,
pkg,
force || pkg.force,
binstall,
// FIXME: this lets the per-package configuration have precedence
// over the global defaults, but over the CLI as well; optionals
// should be introduced in order to re-order things properly instead.
pkg.binstall.unwrap_or(binstall),
color,
verbosity,
)
Expand Down

0 comments on commit 6cfd167

Please sign in to comment.