• Ephera@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 months ago

    Just upgraded ten or so smaller projects with no compile errors whatsoever. And then one larger project (probably 20k lines of code or so), which just had a few calls to env::set_var() that needed to be wrapped in unsafe, as well as some uses of ref in pattern-matching, which were apparently not needed, so I’m actually glad to be rid of those.

    Very happy with that overall. I was already worried, they might introduce too many breaking changes with how long they were working on this edition, but those worries just evaporated.

      • Ephera@lemmy.mlOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 months ago

        Ah, I was just wondering, if I should be upgrading all my libraries. It’s not like many users would be impacted, but still good to be aware of.

        • RustyNova@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          In general, apps/bins should strive for the latest msrv and lastest dependencies

          Libraries should do the reverse and try for the lowest msrv and dependencies version (That actually work! Don’t put version = "1" when you need 1.4.2!)