In another post I realized that one of my annoyances with pulling dependencies for cargo is that the easiest way to use the dependencies is to switch to using the Cargo build system itself (instead of just plain old
rustc). I don’t even know how to do it otherwise, I never used any dependencies pre-Cargo.
What I’d like (and I’m sure this has already been mentioned and discussed), is have some global package installation using Cargo, and then being able to access those crates with just an
extern crate declaration. The code could still be built with just
rustc file.rs with no extra command line flags.
If this is on the roadmap for Cargo, is it something planned for the near future or much later on? Are there any challenges that make this tricky and block it from being done currently, or are there simply more immediate tasks that need to be done before this?