2 ms·
Distros still won't ship that because it causes needless code duplication. Edit: I don't mean this as a general dismissal of that strategy, but more to illustra
by cycloptic 7y ago
Distros still won't ship that because it causes needless code duplication. Edit: I don't mean this as a general dismissal of that strategy, but more to illustrate what problems you'll run into trying to get Rust packages into a distro. A huge amount of work has gone into most distros to "un-vendor" dependencies because it leads to a lot of problems.
- jcranmer 7y agoIt is possible to vendor with a system-wide repository of packages to use. This is how Debian handles cargo dependencies, and I think Nix does something similar as well.
- cycloptic 7y agoThis only works if you keep your list of dependencies small and limited to the ones that are stable and have been tested and packaged. It still seems common to get in npm-like situations with Rust programs where typing "cargo build" installs hundreds of packages. This is what I mean by the ecosystem lacking maturity.