Skip to content

Commit

Permalink
Cargo.toml: use resolver v2
Browse files Browse the repository at this point in the history
This fixes the following 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
  • Loading branch information
Gnurou committed Sep 19, 2023
1 parent d4ebb91 commit a5e3b2f
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 = [
"lib",
"ffi",
Expand Down

0 comments on commit a5e3b2f

Please sign in to comment.