Skip to content

Commit 066566f

Browse files
committed
Add workspace resolver to fix a build warning
Without explicit resolver `cargo` will use `resolver = "1"` and print the following warning: ``` warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` ``` Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
1 parent ac8f628 commit 066566f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[workspace]
22
members = ["cryptoki", "cryptoki-sys"]
3+
resolver = "2"

0 commit comments

Comments
 (0)