How dependency resolution works
Direct dependencies listed in
mops.toml
are always resolved to the specified version. Only for project's rootmops.toml
file. Does not apply tomops.toml
files of dependenciesCompatible transitive dependency versions are resolved to the highest version in the dependency graph.
Incompatible transitive dependency versions are reported as warnings.
Version compatibility
Dependency versions are considered compatible if they have the same major version.
For example:
1.0.0
and2.0.0
are incompatible1.0.0
and1.1.0
are compatible0.1.0
and0.23.0
are compatible
Unwanted dependency changes
If you don't change the version of a direct dependency, the version of the transitive dependencies will not change.
So, unchanged mops.toml
- unchanged dependency graph.