Optimize downloads with the combined package
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
Per @cuviper's comment here there's a significant savings in download size to be had from the combined installer, since it can compress the duplicate bins spread across the rustc/std packages.
Adding this capability would require extending the manifest to describe what's in the combined installer; and extending rustup's install planner to substitute it where appropriate.
I can't think of a reason offhand this wouldn't work, though the logic would be somewhat subtle, with the possibility for bugs.
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 tracing how the manifest describes installable packages and how rustup's install planner selects packages. Study the combined installer contents and determine the conditions for substituting it for rustc/std downloads. Done means the manifest can describe the combined package and the planner selects it safely where appropriate, with coverage for edge cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100