rust-lang / rust-lang/rust-playground

Public API request: list of the top 100 crates that are currently available on the playground

Open
#676 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
1.4k
Forks
267
Avg merge
3h 2m
Merged PRs (30d)
6

Description

To better implement a crates.io feature to show a button linking to the playground to try a crate, we'd like to have a public API available from the playground of what the top 100 are.

We're interested in the ones that are actually in the top 100, not those that are included by virtue of being dependencies of the top 100. I don't know if the full list would be useful to anyone else; if it is, I could see that being a query parameter or a separate API route or similar.

What do you think?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked crates.io PR and the Rust Playground API surface to determine how a public route should expose availability. Done means agreeing on an API shape and returning the top 100 crates that are directly included, excluding crates present only as dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.