Unstable Feature Usage Metrics
Open
Nobody has claimed this yet.
A-metrics
C-tracking-issue
T-compiler
T-lang
T-libs
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Unstable Feature Usage Metrics
Track unstable feature usage trends by Rust users.
Motivation
- Support feature stabilization prioritization.
- Helping teams know which unstable features to invest their energy into.
- Evaluating how representative crates.io is as a sample of the rust ecosystem (will we see different patterns in crates.io feature usage vs private feature usage?)
Context
Steps / History (PROVISIONAL)
- define the format the metrics will be stored in
- add flag to dump unstable feature status metrics (what features exist, if they're stable or not, both for library and lang/compiler, tidy may already support this for lib features)
- add flag to enable unstable feature usage metrics in the compiler
- front end to display reports based on gathered usage and status metrics
- back end to save metrics data from published crates.io crates (private data should be anonymous and stored separately once we have established the ability to gather that in a statistically relevant volume)
- integrate with docs.rs to have it gather metrics and upload them to the backend while building newly uploaded crate versions
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing compiler and tidy support for dumping unstable feature status and usage metrics, then examine the unchecked work involving metric storage, reporting, crates.io, and docs.rs. The issue is complete only when the remaining collection, storage, and reporting pieces have defined formats and working integrations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- analytics, compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100