Skip to content

needs cargo updated to parse latest ed2018 crates #141

@matthiaskrgr

Description

@matthiaskrgr

The latest cargo shipped by rust nightly has the edition = "2018" feature stabilized but cargo outdated still relies on cargo 0.28 which does not have the feature stabilized.

Thus cargo outdated fails to parse Cargo.toml's which use the ed2018 feature without the feature gate.

 error: failed to parse manifest at `/home/matthias/vcs/github/cargo-cache/Cargo.toml`
Caused by:
  editions are unstable
Caused by:
  feature `edition` is required
consider adding `cargo-features = ["edition"]` to the manifest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions