]> source.dussan.org Git - gitea.git/commit
cargo registry - respect renamed dependencies (#32430)
authorAlbin Hedman <albin9604@gmail.com>
Tue, 12 Nov 2024 02:57:30 +0000 (03:57 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2024 02:57:30 +0000 (02:57 +0000)
commit2763766f8563bd1abbc5806938103ae5e479a311
tree4f11cadef5a26d2c74e75b5c4021b0ea560bdd67
parent580e21dd2e9dfb3a3f86f51c4eb188c1bbfa8b11
cargo registry - respect renamed dependencies (#32430)

rust allows renaming dependencies such as when depending on multiple
versions of the same package. This is not supported by gitea as
discovered in #31500 . This PR tries to address that.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
modules/packages/cargo/parser.go
modules/packages/cargo/parser_test.go