this post was submitted on 20 Feb 2025
46 points (100.0% liked)
Rust Programming
8386 readers
7 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, fair enough. I was mainly curious, how much would break, as in how quickly I might expect the Rust ecosystem to adopt these new features. Well, and unless there's a reason against it, I'd prefer having everything on the same edition, i.e. the newest edition.
This again points to you maybe not understanding how editions work, or maybe I'm just reading it wrong again. But you "upgrading" has no effect on your dependencies, and vise versa (except indirectly if MSRV is a factor as another user mentioned).
I'm just talking about things like async closures looking like they might be really useful in a frontend framework we use. And I'm wondering when that framework's documentation will recommend their usage. Or if there's fancy things they can do with the
AsyncFn
traits.I will have to try out, if I can just pass an async closure without that framework changing anything. That's the kind of thing where I am still unclear, how it will affect things. But the basic premise of editions isn't lost on me, and this isn't my first edition switchover either.