Giter Site home page Giter Site logo

Comments (5)

alexcrichton avatar alexcrichton commented on September 25, 2024

Small tweaks like this fall within the "semver compatible" vision of Rust because a small local annotation can be used to fix any compile errors. Additionally the changes provided are required for correctness, so it's possible to lead to memory unsafety if these aren't fixed.

from libc.

danburkert avatar danburkert commented on September 25, 2024

Small tweaks like this fall within the "semver compatible" vision of Rust because a small local annotation can be used to fix any compile errors.

I'm not sure what annotation you are referring to here, but if it's setting the dependency "^0.1.8", that does not work because Cargo assumes 0.1.9 is compatible with 0.1.8. If you mean setting the dependency "=0.1.8", that does not work because Cargo appears to be broken.

Additionally the changes provided are required for correctness, so it's possible to lead to memory unsafety if these aren't fixed.

Absolutely, and thank you for making the fix. My only concern is that the minor version was not bumped.

from libc.

alexcrichton avatar alexcrichton commented on September 25, 2024

I've yanked 0.1.9 and this can be discussed later.

from libc.

perlun avatar perlun commented on September 25, 2024

@danburkert - if there are really "breaking changes", it's not even enough to bump the minor version. The major version should also be adjusted, according to the link you posted.

However, it is also stated here (SemVer spec) that:

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

So 0.1.9 being incompatible with 0.1.8 is perfectly fine in that sense. Still, all breaking changes should of course be thought through nonetheless (to avoid messing up for people), and even more and more as the usage of the library increases. My $0.02. 😄

from libc.

agrover avatar agrover commented on September 25, 2024

Is this discussion ongoing somewhere?

from libc.

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.