forkjo/modules/packages/cargo
Gusted de389f2ecc fix: handle renamed dependency for cargo registery
- When a dependency is renamed, specified via `package="actual-name"` in
Cargo.toml, this should become the name of the depedency when the
package is retrieved from the registery by cargo and the old name should
be available in the `package` field.
- The reference implementation also does this: 490e66a9d6/src/controllers/krate/publish.rs (L702-L705)
- Resolves #5936
- Unit test added.

(cherry picked from commit bb93d3e6c8)
2024-11-13 22:56:30 +00:00
..
parser.go fix: handle renamed dependency for cargo registery 2024-11-13 22:56:30 +00:00
parser_test.go fix: handle renamed dependency for cargo registery 2024-11-13 22:56:30 +00:00