Closed sanderpick closed 1 year ago
Thanks for the contribution @sanderpick !
I think having the methods here is fine for now, but we might have to see if we want to move to a more explicit builder pattern in the future. It's a combinatorial explosion waiting to happen otherwise :)
One nitpick though: Could you also update the CHANGELOG.MD
to reflect your changes?
@sagacity no problem! CHANGELOG.MD
updated.
Sweet! Thanks for your contribution 🥇
Can you also fix the formatting? cargo fmt --all
should do the trick.
Pro-tip: running cargo xtask test
will run all these kinds of checks and tests locally as well.
@sagacity, I pushed the formatting fix. Thanks for the tips... I'm a few days into rust 👍
Howdy!
This change allows use of the
git
andbranch
fields onCargoDependency
. As far as I can tell, these are unusable w/o a helper becauseCargoDependency
is non exhaustive and immutable.I'm not sure if it's worth having four methods here. Perhaps
with_git_and_branch
andwith_git_and_branch_and_features
is sufficient.