54
submitted 1 year ago by wolf4ood@lemmy.ml to c/rust@lemmy.ml
top 3 comments
sorted by: hot top controversial new old
[-] Knusper@feddit.de 16 points 1 year ago

If "Rust reports potentially useful cfg-disabled items in errors" works remotely as well as I'm imagining it, that's going to be insanely useful.

It was this very day, that I wasted several minutes wondering how the hell url::Url does not implement the serde-traits, when those were simply behind a feature flag.

[-] Anders429@lemmy.world 8 points 1 year ago

This will also hopefully limit the number of issues opened that are resolved with a "you must enable X feature."

[-] TehPers@beehaw.org 6 points 1 year ago* (last edited 1 year ago)

A lot of nice QoL changes (checking for missing feature flags, for example) but the thing that stood out to me the most was impl Sync for mpsc::Sender. This has always been a pain point in my opinion for the standard library's channels, but now that they're using crossbeam-channel internally, there's no need to add it as a dependency anymore.

I think some people will be upset by them dropping support for older Windows versions. I can see why they would not want to continue support for them though, it takes extra work to maintain compatibility for those old OS versions and the vast majority of users (by percentage) are on 10/11 now. Still, a shame.

this post was submitted on 24 Aug 2023
54 points (98.2% liked)

Rust Programming

7734 readers
1 users here now

founded 5 years ago
MODERATORS