Use Cargo fetch to only download git dependencies?

Is 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.

For what purpose do you want to download only some of the dependencies? Maybe there is an alternative solution.