rust-lang / rust-lang/rust-playground
Allow shared code examples to include `Cargo.toml` for educational purposes.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 268
- Avg merge
- 3h 2m
- Merged PRs (30d)
- 6
Description
Hello.
Various folks use play.rust-lang.org to share code for educational purposes. Sometimes it would be useful for that code to include a Cargo.toml.
This especially includes all the examples that "just work" because of the "top 100 crates" that are included in the implicit Cargo.toml already...
Contributor guide
No contributing guide indexed for this repository
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 tracing how play.rust-lang.org stores and runs shared code examples, then inspect how the implicit Cargo.toml and included top-100 crates are handled. Define the example format and execution path needed to accept a user-provided Cargo.toml, and verify that shared examples with dependencies still run as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100