Use Cargo fetch to only download git dependencies?
⚓ Rust 📅 2025-05-16 👤 surdeus 👁️ 11Is there a way to use "cargo fetch" to only download dependencies which are Git repositories? There doesn't seem to be a specific option under fetch.
I'm not aware of a way to split up Cargo.toml into multiple files, otherwise I could move the git dependencies into a separate file and just point to that using --manifest-path, but I can't find a way to do that.
Many thanks.
1 post - 1 participant
🏷️ rust_feed