How dependency resolution works
-
Direct dependencies listed in
mops.tomlare always resolved to the specified version. Only for project's rootmops.tomlfile. Does not apply tomops.tomlfiles of dependencies -
Compatible 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.0and2.0.0are incompatible1.0.0and1.1.0are compatible0.1.0and0.23.0are 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.