Git Product home page Git Product logo

Comments (6)

darkwyrm avatar darkwyrm commented on July 17, 2024 1

@darkwyrm can you pls release the fixed version?
Sure. I had forgotten about this, so I appreciate the request. I still don't completely understand everything in the code, but I understand enough to be comfortable releasing. v1.2.1 is on crates.io and in GitLab/GitHub as commit edf5f5a.

from base85.

darkwyrm avatar darkwyrm commented on July 17, 2024 1

I didn't remember any API changes, hence the small version bump. I've made the requested version correction.

from base85.

darkwyrm avatar darkwyrm commented on July 17, 2024

That is very useful. The current code is more or less a straight port from the Go version I wrote when I was first learning it. You've definitely given me some things I haven't seen before to process and learn. Once I understand the stuff I don't recognize I'll get to merging it in. Thanks so much for the suggestions!

from base85.

darkwyrm avatar darkwyrm commented on July 17, 2024

Optimizations merged (with very slight modification) in commit 4209ac1

from base85.

dr-orlovsky avatar dr-orlovsky commented on July 17, 2024

@darkwyrm can you pls release the fixed version?

from base85.

dr-orlovsky avatar dr-orlovsky commented on July 17, 2024

Thank you very much, but there is one problem though: the new version is API breaking, and you did not make a semver-compatible version change (you updated only minor version and not major). This broke downstream compilation of all released projects which used your crate:

   |
86 |         let data = base85::decode(s).ok_or_else(|| {
   |                    ------------------^^^^^^^^^^ help: there is a method with a similar name: `or_else`

Can you please cargo yank --version 1.2.1 and re-publish the new version as 2.0.0?

from base85.

Related Issues (1)

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.