3 ms·
> The difference is that in another language the build step is delegated to someone else who has packaged the code Fedora packages a large number of Rust libra
by timschmidt 3y ago
> The difference is that in another language the build step is delegated to someone else who has packaged the code
Fedora packages a large number of Rust libraries, just as you describe. Nothing prevents you from using the packaged libraries if you prefer them.
You may find helpful information here: https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/ https://docs.fedoraproject.org/en-US/packaging-guidelines/Ru...
- bonzini 3y ago> Nothing prevents you from using the packaged libraries if you prefer them Nothing except, in no particular order: 1) only having one version of crates 2) mismatched features 3) new transitive dependencies that can be introduced at any time without any warning 4) only supporting one version of rust 5) packages being noarch and basically glorified distro-wide vendoring—so their build.rs code is still run on your machine at cargo build time
- timschmidt 3y ago> 1) only having one version of crates Same as any other library provided by the distribution in any other language. > 2) mismatched features Same as any other library provided by the distribution in any other language. > 3) new transitive dependencies that can be introduced at any time without any warning Not in packaged Rust libraries in Fedora, at least. Please read the aforementioned link. > 4) only supporting one version of rust Same as any other library provided by the distribution in any other language. > 5) packages being noarch and basically glorified distro-wide vendoring Packages containing only source is a consequence of the Rust ABI still stabilizing, see: https://github.com/rust-lang/rust/pull/105586 https://github.com/rust-lang/rust/pull/105586 After ABI stabilization, Rust libraries will be first class like any other language.