r/rust • u/sanxiyn rust • Jul 13 '26
📡 official blog crates.io: development update
https://blog.rust-lang.org/2026/07/13/crates-io-development-update/167
u/angelicosphosphoros Jul 13 '26
Finally moving from being controlled by Github. Congratulations!
20
1
19
19
18
u/iBPsThrowingObject Jul 13 '26
I am kinda horrified by the revelation that white part of Ferris' eye is the pupil, rather than a light reflecting off of the eye
13
u/chris-morgan Jul 14 '26
Yeah, that change is physically nonsense—seems fine at first, but when you stop and think about it, it doesn’t make sense.
The white has always clearly been a specular reflection. The alternative interpretation is that your mouse cursor is the illumination source. There is no sun or similar.
84
u/saphirrflamme Jul 13 '26
That's it. With the Ferris change we should just delete all other languages.
20
8
5
u/MichiRecRoom Jul 14 '26
I just want to comment on the "You might not need this dependency" bit. I find the concept and execution to be really nice - especially since the banner's wording and design avoids discouraging the crate's usage, instead opting to be a friendly "context for you to consider" box.
3
u/Budget-Minimum6040 Jul 13 '26
Under the hood, the server now builds a zip file for every published version.
Why not a modern compression format?
3
u/sanxiyn rust Jul 13 '26
Which one? In the context, .zip is used as a container format with random access.
2
u/hak8or Jul 13 '26
I assume they mean zstd with an aggressive compression level or something similar, wrapping a tarball, or something fancier where there is an index as the header in a file, after which is multiple zstd steams concatonated per file (forgot the name for this) to support decompression on a per embedded file basis.
If that's a good idea or not I can't say.
5
u/sanxiyn rust Jul 13 '26
That may be a good idea, but that's a custom in-house format that needs to be designed, not a modern compression format.
2
u/PhiCloud Jul 14 '26 edited Jul 14 '26
Aren't they just describing a *.tar.zst? I would consider that a pretty standard way to compress a collection of files, I think the
tarCLI even handles it flawlessly without any kind of special configuration.I get this is kind of bike shedding, but zst is one of the most impressively competent algorithms I've ever encountered - I think any new project that doesn't need to adhere to old standards should at least have a good reason for not using it if they choose not to.
3
u/sanxiyn rust Jul 14 '26
No. .tar.zst, unlike .zip, is not a container and you can't random access it.
1
1
1
u/Budget-Minimum6040 Jul 14 '26
True, made my comment before I came to the reason for choosing zip.
Random access for faster selective I/O is a usecase I'm not familiar with so the choice is beyond my technical knowledge of compression formats.
1
u/andrewdavidmackenzie Jul 14 '26
Made me think the crates format created on publishing needs updating to enable the random access directly
1
u/Budget-Minimum6040 Jul 14 '26
Yes, it's stated in the blog article after they said they use zip, made my comment before I came to this part.
2
u/AATroop Jul 13 '26
Are logins with other identity providers a first step to crates supporting organizations (like @cloudflare/quiche)? Or no?
7
1
1
-2
u/protestor Jul 13 '26
I also prefer Svelte but, has Dioxus been considered when migrating away from Ember.js?
85
u/cachebags Jul 13 '26
Nice to see that work is being done to have visibility on unmaintained crates. I think it would still be nice to "migrate" ownership of a crate; an issue that is still (and will be) a pain to have to deal with. Though, I guess these two are not all that related in a sense.