LukeMathWalker / cargo-chef

A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.
Apache License 2.0
1.72k stars 113 forks source link

fix: Run `cargo metadata` with no-deps flag #211

Closed asandroq closed 1 year ago

asandroq commented 1 year ago

This change restores the old behaviour of cargo chef prepare which would finish quickly and not need Git credentials for private repos.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Kobzol commented 1 year ago

@LukeMathWalker I think that this should be fine.