Skip to content

Commit

Permalink
Set explicit resolver version in workspace Cargo.toml (#708)
Browse files Browse the repository at this point in the history
To resolve (pun intended) this Cargo resolver version deprecation warning:

```
warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
```

Fixes #701.
  • Loading branch information
edmorley authored Oct 26, 2023
1 parent b353119 commit 59d78af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"buildpacks/nodejs-engine",
"buildpacks/nodejs-corepack",
Expand Down

0 comments on commit 59d78af

Please sign in to comment.