Skip to content

cargo search: ability to search in crate names only #4161

Open
@pravic

Description

@pravic

Currently cargo search produces very noisy output with a lot of irrelevant results. It would be nice to add options to control where to search: crate names only (strict), keywords, description (most relaxed).

Current situation: cargo search python gives:
https://crates.io/crates/yamlate
https://crates.io/crates/autojump
https://crates.io/crates/strfmt

Where is any "Python" word in these crates - I do not know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-interacts-with-crates.ioArea: interaction with registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-searchS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions