Hi, and sorry if the following notes are a little bit sparse.
I’d like to share an idea of building a distribution of Rust, RPD in the following paragraphs, that came to my mind today. This is influenced by what other ecosystems are already doing. Some examples of this include the Haskell Platform and several examples for Python.
The RPD could be distributed as a cross platform bundle installer that would give offline access to curated tools and crates. This could include:
- An LTS toolchain depending on the installer architecture/platform.
- UI for Windows/Mac/Linux/Web (Rust Dashboard)
- Check
rustup status and update toolchains (probably with a custom LTS channel)
- Update binaries and tools (ala
cargo install-update)
- The Book and Docs
- Builtin offline documentation browser
- Compiler errors linked to included documentation in the Rust Dashboard (see below): this would require revamping the error messages to include error codes that can be linked easily. This would allow the default toolchain channels to distribute error messages with links to online docs, then the base URL could be customized for the RPD using a custom URL scheme to automatically open the Dasboard’s documentation browser.
- Pinned and possibly precompiled versions of the distribution crates
- These should be all curated, 1.0 quality level crates (Libz Blitz)
- Cargo
- With support to use the included crates by default and handle upgrades from the Web and probably some RPD specific subcommands
- RLS and editor plugins
- Clippy
- rustfmt
All the included tools and crates should go through a security audit and offer long term support.
The RPD could provide spins, like Fedora’s, for specific areas: Scientific, Data Science, WebDev, OSDev, GameDev, Embedded.