Trending crates section #4325
tkaitchuck
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
are there any plans to implement this or something similar to this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the homepage of crates.io has sections for:
The new crates and just updated are not very interesting because the crates listed are just whatever happens to have been uploaded before you loaded the page.
The Most Downloaded and Most Recent downloads tend to be fairly static lists, as the list of mainstream widely used crates don't change very rapidly.
This leaves open an area for crates that have recently become popular. Two new sections that could be created without tracking any new statistics are:
Some constant * Number of downloads in the last 90 days - Number of prior downloads
. This would give a list of crates that have just recently become popular. (With a constant probably somewhere between 1 and 10 depending on desired rate of turnover.)Number of downloads in the last 90 days * (Download rate in the last 90 days / Download rate over crate lifetime)
which simplifies to((Downloads in 90 days)^2 / (Total downloads)) * (age in days/90)
. This would give a list of popular crates whose popularity is increasing.Beta Was this translation helpful? Give feedback.
All reactions