-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Description
With more projects switching to their primary branch being called "main" instead of "master", simply adding a git dependency will fail. This is a usability issue, and since I assume the Rust project supports the use of this alternate nomenclature, it should do its part to support it.
E.g. with ureq
:
error: failed to get `ureq` as a dependency of package ...
Caused by:
failed to load source for dependency `ureq`
Caused by:
Unable to update https://github.com/algesten/ureq
Caused by:
failed to find branch `master`
Caused by:
cannot locate remote-tracking branch 'origin/master'; class=Reference (4); code=NotFound (-3)
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`