File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ it so that it remains strictly acyclic.
494
494
495
495
## Resolver versions
496
496
497
- A different feature resolver algorithm can be used by specifying the resolver
497
+ Different resolver behavior can be specified through the resolver
498
498
version in ` Cargo.toml ` like this:
499
499
500
500
``` toml
@@ -503,12 +503,8 @@ name = "my-package"
503
503
version = " 1.0.0"
504
504
resolver = " 2"
505
505
```
506
-
507
- The version ` "1" ` resolver is the original resolver that shipped with Cargo up to version 1.50.
508
- The default is ` "2" ` if the root package specifies [ ` edition = "2021" ` ] ( manifest.md#the-edition-field ) or a newer edition.
509
- Otherwise the default is ` "1" ` .
510
-
511
- The version ` "2" ` resolver introduces changes in [ feature
506
+ - ` "1" ` (workspace, [ ` edition = "2015" ` ] ( manifest.md#the-edition-field ) default)
507
+ - ` "2" ` ([ ` edition = "2021" ` ] ( manifest.md#the-edition-field ) default): Introduces changes in [ feature
512
508
unification] ( #features ) . See the [ features chapter] [ features-2 ] for more
513
509
details.
514
510
You can’t perform that action at this time.
0 commit comments