If I create a package Foo depending on Bar@0.1.0, and the default environment (say, v1.1) has Bar@0.2.0, how can I use the package Foo in the default environment?
Here’s what I did:
In the environment Foo, I ]add Bar@0.1.0. Clearly this creates a manifest.toml file with Bar@0.1.0. Then I switch back to the default environment v1.1 and then using Foo, Foo wouldn’t precompile due to compatibility issues (v0.1.0 vs v0.2.0).
My expectation is that Foo will run in its own environment described by its manifest.toml no matter what is the environment where Foo is used. However, this does not seem to be the case in my practice. Then, how can I simultaneously use two packages that have contradictory dependency requirements?