Coder Social home page Coder Social logo

Comments (6)

lilyball avatar lilyball commented on September 1, 2024

I think it's also trimming trailing whitespace on the last line.

from cargo-aoc.

gobanos avatar gobanos commented on September 1, 2024

I've published aoc-runner 0.2.2 to solve this issue.

I moved from trim() to trim_end_matches('\n'), to prevent trimming white space on last line too.

You have to update cargo-aoc to 0.2.2 too (I'll open an issue for that)

from cargo-aoc.

lilyball avatar lilyball commented on September 1, 2024

Looks like aoc-runner-derive is still version 0.2.1. I assumed it should always match the version of aoc-runner. Is this an oversight or were you not actually trying to maintain version equality?

from cargo-aoc.

gobanos avatar gobanos commented on September 1, 2024

No update was needed on aoc-runner-derive this time.
I want to be more flexible with version, especially between aoc-runner & cargo-aoc.
Do you think I should bump the aoc-runner-derive version to match aoc-runner ?

from cargo-aoc.

lilyball avatar lilyball commented on September 1, 2024

Given that the various crates need to stay in sync with each other, I think it's helpful to actually keep the versions the same. Otherwise if I'm using anything besides the latest version of aoc-runner, how do I know what versions of aoc-runner-derive and cargo-aoc to use?

from cargo-aoc.

gobanos avatar gobanos commented on September 1, 2024

cargo-aoc uses aoc-runner public API (and aoc-runner-derive identifiers), which should be stable now.
So keeping crates on the same minor version should be enough.
I suggest to follow this discussion on #22.

from cargo-aoc.

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.