Giter VIP home page Giter VIP logo

Comments (5)

oren0e avatar oren0e commented on August 15, 2024 1

Thank you very much! I wasn't aware of some of these options. Using a pre-built docker actually sounds promising. Will try that out.

from cargo-chef.

LukeMathWalker avatar LukeMathWalker commented on August 15, 2024

I'm sorry, but this is not a supported usecase.
We expect you to be using a ~recent version of Rust.

If you want to stick to an older version of cargo-chef, you probably want to use the --locked flag when installing.

from cargo-chef.

oren0e avatar oren0e commented on August 15, 2024

@LukeMathWalker Doesn't the project have an MSRV? In our company there are constraints that does not allow me to always use the latest Rust version, nor do I want to update everything every month.

from cargo-chef.

LukeMathWalker avatar LukeMathWalker commented on August 15, 2024

This project does not guarantee an MSRV—it isn't documented anywhere, as you can see from the README.
Even if it did guarantee an MSRV, it still wouldn't work unless you pass --locked when issuing the cargo install command.

It's also worth noticing that the version of Rust you use to compile cargo-chef has nothing to do with the version of Rust you use to compile your own project.
To list a few options:

  • you can compile cargo-chef in another Docker build stage and then copy the binary over into the stages used to build your application and its dependencies
  • you can download a pre-built binary from our GitHub releases (and verify the checksum to ensure integrity)
  • you can use our pre-built Docker images

from cargo-chef.

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.