« first day (2816 days earlier)      last day (666 days later) » 

10:10 AM
Do we have a canonical Q&A for "missing type/function/whatever due to missing Cargo feature"?
 
31
Q: How do you enable a Rust "crate feature"?

brundolfI'm trying to use rand::SmallRng. The documentation says This PRNG is feature-gated: to use, you must enable the crate feature small_rng. I've been searching and can't figure out how to enable "crate features". The phrase isn't even used anywhere in the Rust docs. This is the best I could come ...

maybe
 
I was hoping for a question which explicitly says "Some crates may have parts of its API gated on features, so you need to check them out and enable them", rather than "Here is how you enable something you don't know about yet".
 
 
1 hour later…
11:22 AM
Can't flag a question as a duplicate if the original doesn't have an upvoted answer.
Upvote existing 0 point answer on original question.
Flag duplicate.
Unvote.
???
Profit.
 
Interesting.
OTOH if you believed that the question/answer combination was a good duplicate target, that would be a fair reason to keep the vote there.
(and I don't even usually advocate for upvoting this much)
 
 
5 hours later…
4:41 PM
posted on June 30, 2022 by The Rust Release Team

The Rust team is happy to announce a new version of Rust, 1.62.0. Rust is a programming language empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, you can get 1.62.0 with: rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release no

 
5:07 PM
@Feeds Not bad.
 
default enum variant will remove a lot of stupid impls
The ordering of Nan may solve a lot of problems which sound stupid when you first encounter them
 
 
3 hours later…
8:05 PM
Also a worthy mention is that it improves linker integration (#96436) so that inventory and other similar crates work reliably.
 
8:24 PM
No one answers stackoverflow.com/questions/72821382. Is it clear? It's about optimization algorithm. Can someone do it please? Thanks.
 
8:59 PM
@RHERWOLF the question was asked one hour ago. that is not very long, people who answer will eventually get to it, so give it some time.
that being said, that question seems fairly broad, and does not seem to be related to rust specifically at all.
 

« first day (2816 days earlier)      last day (666 days later) »