rust-lang / rust-lang/rustup

Reduce disk size taken up by rust standard library docs

Open
#4,106 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Problem you are trying to solve

I have a macbook with only 256GB SSD as I am not willing to pay the insane upgrade prices of apple

Thus, 700MB here and there do add up and I want to reduce the disk space taken up by software so I can store more photos etc.

Solution you'd like

The docs installed by rustup are quite large - maybe there is a way to minify the HTML etc. or generate the docs on demand (when opening) from a file format that doesn't use a lot of characters for markup

Image

Notes

No response

Contributor guide

Open the contributing guide

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

The issue does not name any files, tests, or entry points. Start by tracing how rustup installs and packages the Rust standard library documentation, then compare possible storage reductions with documentation access requirements. Done would mean an agreed, measurable way to reduce installed documentation size without breaking its use.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
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.