In cargo 1.41, cargo install adds a new .crates2.json file in the
install root for tracking version upgrades. This would be another file
that %cargo_install should remove afterward, but there is also a new --no-track option which disables such metadata files altogether.
This update should be coordinated with the Rust toolchain update in the
distro, e.g. with rust-packaging Requires: cargo >= 1.41. The new
option will be rejected as an unstable option on earlier versions.
In cargo 1.41,
cargo install
adds a new.crates2.json
file in theinstall root for tracking version upgrades. This would be another file
that
%cargo_install
should remove afterward, but there is also a new--no-track
option which disables such metadata files altogether.This update should be coordinated with the Rust toolchain update in the
distro, e.g. with rust-packaging
Requires: cargo >= 1.41
. The newoption will be rejected as an unstable option on earlier versions.