Files
Joshua Spence a9d5c320e1 fix(cargo): Support Git dependencies with a custom hostname (#38017)
* Fix Cargo with Git dependencies with a custom hostname

PR #36444 doesn't work for Git dependencies which use a custom hostname because the `registryUrl` is extracted incorrectly (e.g. `https://example.com` rather than `https://git.example.com`).

* Remove stray `console.log`

* Add test

* Apply suggestions

* Fix lint

* Update lib/modules/manager/cargo/extract.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>

* Update lib/modules/manager/cargo/extract.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-12-03 18:28:49 +00:00
..