Commit b3632f7
fix: specify resolver in Cargo.toml
With one of the recent rust toolchain upgrades, we started getting a
warning about different defaults for the results (workspaces default to
resolver = "1", yet individual crates default to resolver = "2" since
edition 2021). To fix this warning, explicitly set the resolver to
version 2 in our top level Cargo.toml
The change in resolvers is related to how features are merged. Instead
of unifying them (meaning that features enabled in dependencies "leak"
into other crates), they are now kept disjoint. This is why the regex
dev-dependency now needs the `unicode-perl` feature explicitly enabled.
[1]: https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>1 parent 4c65c30 commit b3632f7
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments