Giter VIP home page Giter VIP logo

Comments (6)

ia0 avatar ia0 commented on July 20, 2024

Thanks for bringing this issue to my attention! I wasn't aware that it would break the build for old compilers. I'll take a look at it this weekend to see how to address the issue (revert, document, or something else).

from data-encoding.

link2xt avatar link2xt commented on July 20, 2024

I would prefer revert, because https://github.com/deltachat/deltachat-core-rust tries to support Rust >=1.51 (this version introduced const generics which are required by rustcrypto crates) and depends on data-encoding via some crates, including mailparse soon.

Also since you have a CI setup, it makes sense to fix some MSRV and automatically test that the crate can still be built with it. If some change breaks compatibility you will notice it and can decide whether it's worth rising the minimum version.

from data-encoding.

ia0 avatar ia0 commented on July 20, 2024

Indeed, reverting sounds like the best approach for now, but I'd like to check if there are alternatives before committing. For sure, the priority is to not break users.

Thanks for the CI idea, I'll definitely do that.

from data-encoding.

ia0 avatar ia0 commented on July 20, 2024

It looks like there are no clear guidelines on how an MSRV bump should impact the crate version. The Rust Embedded WG only restricts to the latest stable.

Given that the data-encoding library is stable, I'll take the most conservative approach and only bump the MSRV when needed. I'll also do the same for the unstable macro libraries for now, but might revisit this in the future. The binary is out of scope since it cannot break a user build. Similarly, non-exported crates are out of scope.

The smallest MSRV is currently 1.46.0 according to cargo-msrv. The MSRV is documented in the package.rust-version field of each library and is checked in continuous integration.

If this sounds good to you, I'll submit #54.

Thanks again for bringing this issue to my attention before it was too late!

from data-encoding.

link2xt avatar link2xt commented on July 20, 2024

Checked #54, looks good.

from data-encoding.

ia0 avatar ia0 commented on July 20, 2024

Thanks! Merging.

from data-encoding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.