Skip to content

Feature request: track/show more quality metrics #2153

Closed
@nathan-at-least

Description

@nathan-at-least

When I'm searching for crates, I poke around trying to get a quick impression of "quality" or more precisely "maintenance reliability". What I really want to know are answers to questions like:

  • how likely is it this crate has addressed low-hanging fruit bugs for its use case?
  • if there's a bug, flaw, or I request a new feature, how likely is it devs are responsive and will make a new release addressing the issue?
  • how many other crates or people rely on this crate?
  • do the devs maintain other crates with high or low quality metrics?

Here are some brainstorms of various quality metrics that may be plausible to track/display:

  • how many other crates depend on the search result crate?
  • how many outstanding cargo audit failures does the crate have?
  • what's the ratio of opened vs closed issues on Github (or other issue trackers)? (Could be messy to support 3rd party issue trackers.)
  • something about release cadence, like "this crate makes regular releases every N months"…
  • (from Feature Request: search predicates like after:<DATE>. #2151) this crate has #![deny(missing_docs)] guaranteeing all pub items at least have documentation.

BTW- I do not recommend aggregating these into some top-level "quality" metric, but instead indicating them in search results independently, since different users may value them differently (and they are all imperfect approximations of the ideal info). If this is too much clutter, there could be a widget to expand these as columns that are hidden by default.

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