2

I have a Cargo.toml as below:

[dependencies]
a = "x.x.x"
b = "y.y.y"
c = "z.z.z"

There is a local change made in dependency a, hence updated above manifest to use the local path using

a = { path = "/mypath" }

This works fine and a picks up the correct code however b and c also have a in their Cargo.toml as dependency pointing to the same "x.x.x" version and cargo build fails again.

Is there a way to tell Cargo to always use /mypath whenever it comes across a?

Harsh Manvar
  • 27,020
  • 6
  • 48
  • 102
NamrataB
  • 283
  • 2
  • 15

0 Answers0