I don't think the built-in command can do that, but this will: https://crates.io/crates/cargo-vendor-filterer