Closed Joshix-1 closed 3 months ago
cargo install-update-config
reads the real and .crates2.json
config, and if any edits are configured, writes it all to the real config
this makes the semi-transient .crates2.json
-originating config real and permanent. which I agree is bad
Can you try the current master
branch (at least a5fedc7e9e9670330ba4e9d3096a0b82de424f47)? The current persistent config file won't be pruned, but now a .crates2.json
-originating config will only be promoted and saved if you're actually editing that package's config.
seems to work
Thanks; released in v14.0.2
.
When configuring options for one package it updates options (probably based on stuff in
~/.cargo/.crates2.json
) for other packages. That imho shouldn't happen. It configures options for many packages without telling the user.