This repository was archived by the owner on Oct 18, 2023. It is now read-only.
Commit dd0edc5
authored
Use cargo-chef (#549)
cargo-chef allows to split downloading and building dependencies
from building the actual project. This allows docker to cache a layer
that downloads and builds dependencies and rebuild only the project
instead.
This change reduced the incremental build for me by over 60% from 327s to 130s.
Signed-off-by: Piotr Jastrzebski <[email protected]>1 parent 15edf5e commit dd0edc5
1 file changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
8 | 25 | | |
9 | 26 | | |
10 | 27 | | |
| |||
0 commit comments