logoalt Hacker News

elcritchtoday at 3:25 PM1 replyview on HN

Unfortunately quite a few useful Rust libraries seem to require nightly.

Now I’ve not extensively used Rust but almost everytime I did it ended up needing nightly to use some library or other.


Replies

estebanktoday at 3:31 PM

Do you recall which libraries? Use of nightly fell of a cliff after 2018. Looking at the bottom of https://lib.rs/stats#rustc-usage, ~8% of all crates.io requests came from a nightly newer than that corresponding to 1.86. That's am upper bound, as using a nightly compiler doesn't mean that a nightly compiler was needed. The prevalence of nightly is also niche specific. If you're in embedded it is likely you need to use some nightly-only features that haven't been stabilized, but if you have an OS chances are that you don't.

show 1 reply