Support for clone
subcommad
#8888
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Describe the problem you are trying to solve
I'd like a sub command (
cargo clone
) to exist that fetches a crate source.Describe the solution you'd like
This would be very similar to
cargo vendor
but would accept an arbitrary crate and version and not require a manifest. Perhaps https://github.com/ehuss/cargo-clone-crate or https://github.com/JanLikar/cargo-clone could be integrated or something entirely new created from existing code. Cargo obviously has the ability to fetch crate source from a registry, I'd just like to be able to specify what exactly to fetch from a customizable registry and where to put it.Notes
This request is partially related to #8708 and inspired by google/cargo-raze#218. Cargo-raze now handles binary dependencies in a unique way this is fine for the time being but the ability to use cargo to fetch a crate's source from a registry would simplify things.
The text was updated successfully, but these errors were encountered: