Skip to content

whole crate is marked as yanked if only last version is yanked #253

Closed
@kstep

Description

@kstep

Steps to reproduce:

  1. have several versions of a single package published (e.g. version 0.1.0, 0.1.1 and 0.1.2)
  2. yank the last version with cargo yank (i.e. run cargo yank --vers 0.1.2)

Expected behavior:

Only version 0.1.2 is yanked, the crate's page on crates.io have all other versions accessible (0.1.0 and 0.1.1 in this example, 0.1.1 being the default and latest available version)

Actual behavior:

Whole crate is marked as yanked with a message on crate's page that the crate was removed from repository and only available for already published packages as a dependency.

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