Skip to content

Yanked crates should be discounted/de-emphasized/demarcated somehow in search results #145

@daboross

Description

@daboross

If all versions of a crate have been yanked, it probably shouldn't show up in searches, at least I can't see why it would want to. If a user clicks on a completely-yanked crate that shows up in search, they will be brought to a page which simply states "This crate has been yanked, but it is still available for download for other crates that may be depending on it.".

It seems like it would be better to not display those crates at all, or maybe add a checkbox with Show deprecated crates to toggle showing them.

For example, https://crates.io/search?q=fern brings up the now-useless fern_macros crate (which has been completely yanked, and doesn't compile on the beta), instead of just the fern crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-searchC-enhancement ✨Category: Adding new behavior or a change to the way an existing feature works

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions