LukeMathWalker / cargo-chef

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

Add rust-toolchain.toml to skeleton #254

Closed mladedav closed 8 months ago

mladedav commented 8 months ago

Issue #, if available: #231

Description of changes: Added rust-toolchain to the skeleton. I'm differentiating between rust-toolchain and rust-toolchain.toml because the former seems to be handled differently, e.g. can contain just the channel and not be actually toml, but it is kept only for backwards compatibility reasons. It is however preferred if both are present so I could just read either and otuput it as rust-toolchain?

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