Separating fetching from building for better security
Rust Internals [Unofficial]
June 13, 2026
grothesque:
According to my understanding
cargo vendorsuffers from the same problem ascargo fetchwith regard to features (see above).
cargo vendor will vendor all crates included in the lockfile by default, even if no combination of target and features can actually build a given crate.
Discussion in the ATmosphere