The edition flag in cargo-chef is still 2018. However, there are dependencies which are no longer compatible with edition 2018 (specifically cargo-platform). The version of that dependency should be locked to maintain this crate's ability to be installed on 2018 toolchains, or the edition flag bumped to reflect reality.
I know rust 1.86 is long in the tooth now, and we can install v0.1.75 which still compiles, but this is more about just ensuring that the metadata is aligned with reality. Thanks!
❯ cargo install cargo-chef --locked
Installing cargo-chef v0.1.77
Downloaded cfg-expr v0.20.6
Downloaded dissimilar v1.0.10
Downloaded jiff v0.2.22
Downloaded toml_datetime v1.0.0+spec-1.1.0
Downloaded env_filter v1.0.0
Downloaded env_logger v0.11.9
Downloaded toml v1.0.3+spec-1.1.0
Downloaded target-spec v3.5.7
Downloaded zerocopy v0.8.40
Downloaded toml_parser v1.0.9+spec-1.1.0
Downloaded 10 crates (1.3 MB) in 1.68s
error: failed to compile `cargo-chef v0.1.77`, intermediate artifacts can be found at `/var/folders/5c/bwfp2wmd44bgv46b__c6lm1h0000gn/T/cargo-installxuGVIM`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Caused by:
rustc 1.86.0 is not supported by the following package:
cargo-platform@0.3.2 requires rustc 1.88
The edition flag in
cargo-chefis still 2018. However, there are dependencies which are no longer compatible with edition 2018 (specificallycargo-platform). The version of that dependency should be locked to maintain this crate's ability to be installed on 2018 toolchains, or the edition flag bumped to reflect reality.I know rust 1.86 is long in the tooth now, and we can install v0.1.75 which still compiles, but this is more about just ensuring that the metadata is aligned with reality. Thanks!