Skip to content

Format change of ids in 'cargo metadata' with cargo 1.78 #13528

@dan-t

Description

@dan-t

Problem

The format of the id entries in the cargo metadata changes in cargo 1.78.

In cargo 1.76 the format is:
"ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)"

In cargo 1.78 the format is:
"registry+https://github.com/rust-lang/crates.io-index#[email protected]"

Both formats are with '--format-version 1'. Is this considered as a breaking change?

Steps

  • Execute 'cargo metadata --format-version 1' with cargo 1.76
  • Execute 'cargo metadata --format-version 1' with cargo 1.78
  • Compare the output

Possible Solution(s)

No response

Notes

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugCommand-metadataS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions