-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please publish rustup to crates.io #835
Comments
I'm happy to make publishing rustup part of the release process. I think right now the blocker is that there are some non-crates.io deps, particularly in the download crate. |
Next step is to get rid of git deps in rustup. The rustup library may need to be broken into another crate and all the libs version numbers dropped to < 1.0. |
FWIW What's most important though, is defining how |
Also the peculiar way |
Oh I misunderstood this issue. I was not considering publication of the rustup binary, only the libs. I don't know how publishing rustup binaries via cargo would work offhand. |
@brson I'd like to have the rustup binary crate available via cargo, allowing This would require rustup to have all its dependencies on crates.io as well. |
Hi I'd like to bump this. Some people would like to be able to install This would allow people to run |
So while we support (to some extent) being packaged, we have no intention to release Platforms other than Debian manage to package |
@kinnison which platforms other than Debian manage to package rustup? |
@infinity0 I'm aware of Arch, Void/Alpine, and Nix at least. Someone tried to package it for Chocolatey (Windows) and at one point there was a threat of an msys one though I've not spotted that for a while. |
Fair enough. Those platforms have less strict packaging policies than Debian/Fedora/Gentoo however. |
Not to imply that it's against Debian policy to package rustup without it being on crates.io, it's just that we've developed automated tooling (with the policy in mind) to work with crates.io and it's some extra work to make it work with a github git repository. Not sure what the situation is with Fedora/Gentoo. |
As a |
It's easy to keep any package in Debian Experimental or Debian Unstable with an RC bug that blocks it from entering Debian Stable, this is the standard option for unstable user-facing tools like rustup. |
That's fair. At this time, publishing to crates.io would create a burden on |
|
@simonsan Nixos does a reasonable job of it. The homebrew package is bad. Chocolatey packages a rustup installer. |
Please consider publishing rustup releases as a crate on crates.io. That would make it easier to package rustup releases for Linux distributions, or to install rustup via "cargo install rustup" if you have Rust and Cargo already installed via your distribution. (There's a lot of value in having rustup packages even in a distribution that already has Rust packages, such as to install nightly or to install a cross-toolchain.)
The text was updated successfully, but these errors were encountered: