Skip to content

Confusing display of edition for old versions of crates #12061

@fw-immunant

Description

@fw-immunant

Current Behavior

For example, look at the version history for the z3 crate. It specifies the 2024 edition in versions after 0.13, the 2018 edition in version 0.13, and does not specify edition (defaulting to 2015) in versions prior to 0.13. Confusingly, only the versions specifying 2018 edition show the edition in this list.

Expected Behavior

Presumably the intent is to show the edition whenever it is not the latest, so the versions that do not specify edition and default to 2015 should also show the edition.

Steps To Reproduce

Visit https://crates.io/crates/z3/versions.

Environment

  • Browser: All.
  • OS: All.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions