Code Monkey home page Code Monkey logo

Comments (8)

nullishamy avatar nullishamy commented on June 12, 2024 1

Oh, I see. My cargo pulled 0.9.2 (which I misremembered as 1.9.2, hence my comment). I changed it to just pull from git directly and the examples work fine (needed to enable the label feature which took a little bit of figuring out, but nothing drastic).

This seems to be resolved now, thanks!

from chumsky.

zesterer avatar zesterer commented on June 12, 2024

Are you viewing them via docs.rs?

from chumsky.

nullishamy avatar nullishamy commented on June 12, 2024

I was viewing via GitHub but I don't believe that would make a difference?

from chumsky.

zesterer avatar zesterer commented on June 12, 2024

The guide is intended to be viewed through docs.rs (by hosting them there, we get the ability to precisely control the version of things we link to, as well as having inline examples that can be tested with CI).

from chumsky.

zesterer avatar zesterer commented on June 12, 2024

To minimise future confusion, I've added a README.md to improve things :)

from chumsky.

nullishamy avatar nullishamy commented on June 12, 2024

Looks good! That link does go to 1.0.0alpha4, instead of a newer version. Was that intentional?

from chumsky.

nullishamy avatar nullishamy commented on June 12, 2024

As an aside, the examples/ directory is sort of strange. It's built against the latest main build, but that isn't identical to the latest cargo release. Perhaps this should also be clarified in a similar way (if there is some better way to view the examples)?

from chumsky.

zesterer avatar zesterer commented on June 12, 2024

Looks good! That link does go to 1.0.0alpha4, instead of a newer version. Was that intentional?

Yes, 1.0-alpha.4 is the latest version on crates.io.

It's built against the latest main build, but that isn't identical to the latest cargo release

It's not identical (this is fairly standard, fwiw) but they are similar enough for (I think) most of the examples to just work. Make sure that you're depending on one of the 1.0 alpha releases instead of 0.9. 0.9 is pretty much in legacy maintenance mode at this point, 1.0 is a complete rewrite of the crate.

from chumsky.

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.