A dependency problem:
Let’s assume the crate
A depends on the crate
In my application, I use both
B in the sense that I need to pass types from
B to the functions of
A. And I also want to use
B directly in a totally unrelated part of the code.
Now let’s assume
B gets updated in a breaking way, and assume that crate
A still requires the older
I want to use the updated version of
B in one part of my code, but in the other part of my code, I need to pass types from the older
A. How can I do that? Somehow I need to
extern crate B both versions of
B behind two different aliases, but I can’t find out how to do that.