Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
monadium
A platform with the purpose to teach Rust web development to people with no prior experience of programming
This is the most popular issue on the Cargo repository. The issue revolves around the fact that currently, it is not trivial to define Dockerfiles for Cargo projects that would skip rebuilding dependencies after any source code change. This means that each Docker build of a Cargo project can be quite slow and Docker layer caching cannot be used to its full effect, unlike with some other builds systems, e.g. npm (NodeJS), pip (Python) or gem (Ruby), where it's quite straightforward.
A tool already exists for this called Cargo-chef, and it works extremely well.
I created this terrible github workflow to build a dockerfile with Swatinem's rust-cache, and then copy it into the dockerfile already built. This is incredibly error prone. I would love something built-in.