File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ use based on the version requirements specified in each package. This process
5
5
is called "dependency resolution" and is performed by the "resolver". The
6
6
result of the resolution is stored in the ` Cargo.lock ` file which "locks" the
7
7
dependencies to specific versions, and keeps them fixed over time.
8
+ The [ ` cargo tree ` ] command can be used to visualize the result of the
9
+ resolver.
10
+
11
+ [ dependency specifications ] : specifying-dependencies.md
12
+ [ dependency specification ] : specifying-dependencies.md
13
+ [ `cargo tree` ] : ../commands/cargo-tree.md
14
+
15
+ ## Constraints and Heuristics
8
16
9
17
In many cases there is no single "best" dependency resolution.
10
18
The resolver operates under various constraints and heuristics to find a generally applicable resolution.
@@ -63,15 +71,6 @@ Key steps:
63
71
Cargo may decide that it should prefer a specific version,
64
72
falling back to the next version when backtracking.
65
73
66
- The [ ` cargo tree ` ] command can be used to visualize the result of the
67
- resolver.
68
-
69
- [ dependency specifications ] : specifying-dependencies.md
70
- [ dependency specification ] : specifying-dependencies.md
71
- [ `cargo tree` ] : ../commands/cargo-tree.md
72
-
73
- ## Constraints and Heuristics
74
-
75
74
### SemVer compatibility
76
75
77
76
Cargo uses [ SemVer] for specifying version numbers. This establishes a common
You can’t perform that action at this time.
0 commit comments