I'm using cargo build --build-plan to generate build rules for a different build system (Buck). These builds will be from a complete set of vendored sources.
At present cargo shows all paths relative to ~/.cargo/registry/src/... which means I need to remap those paths back to my vendored sources. Given that all the sources are right there, it would be useful to be able to tell Cargo to just use them in place. Even for normal cargo builds it would save having to copy all the sources.
Yeah, I've already vendored the sources, and updated .cargo/config.toml to use them. It's just that cargo will copy from my vendor dir into ~/.cargo before building. I want it to use the sources directly from my vendor dir.