diff mbox series

[libgpiod,2/2] bindings: rust: fix unclear resolver warning

Message ID 20230629101455.127795-3-warthog618@gmail.com
State New
Headers show
Series minor build warning fixes | expand

Commit Message

Kent Gibson June 29, 2023, 10:14 a.m. UTC
Fix the following warning:

"some crates are on edition 2021 which defaults to `resolver = "2"`,
 but virtual workspaces default to `resolver = "1"`"

Clarify the resolver selection as the 2021 edition by setting the
workspace.resolver to "2".

Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
 bindings/rust/Cargo.toml | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml
index 2e026b4..e385027 100644
--- a/bindings/rust/Cargo.toml
+++ b/bindings/rust/Cargo.toml
@@ -9,3 +9,5 @@  members = [
     "libgpiod",
     "libgpiod-sys"
 ]
+
+resolver = "2"