From bde810043dac58a5f09eb9a368e12afa6b5e7eb3 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Thu, 28 Sep 2023 12:19:18 +0200 Subject: [PATCH] gpio: update libgpiod This update marks some additional types `Send` and fixes some soundness bugs. The breaking changes do not affect us. CHANGELOG 0.1.0 -> 0.2.0: (potentially-)breaking changes: a29f3e6 (bindings: rust: rename {event,settings}_clone to try_clone, 2023-10-04) b290348 (bindings: rust: fix soundness of line_info modeling, 2023-10-03) d04639d (bindings: rust: bump MSRV to 1.60, 2023-06-16) new functionality: 808d15e (bindings: rust: allow cloning line::InfoRef -> line::Info, 2023-10-03) 64aac85 (bindings: rust: mark all owning types as `Send`, 2023-09-28) d12ce74 (bindings: rust: provide LineRequest::chip_name(), 2023-07-20) 53226d5 (bindings: rust: examples: add dedicated examples, 2023-06-14) other changes: 0a570b6 (bindings: rust: drop unneeded Arc within Chip, 2023-09-27) a97fe96 (bindings: rust: construct chip infos by reference, 2023-09-27) 27afa47 (bindings: rust: remove useless clone, 2023-09-28) 3f6e0bf (bindings: rust: add README.md for libgpiod crate, 2023-07-03) 4b8357b (bindings: rust: clippy: silence false-positive on iterator, 2023-06-30) 39189f0 (bindings: rust: clippy: drop unneeded conversions, 2023-06-30) 46115fd (bindings: rust: clippy: silence false-positives on casts, 2023-06-30) 901104e (bindings: rust: clippy: drop unnecessary casts, 2023-06-30) 46ecbe0 (rust: examples: file comment consistency, 2023-06-24) aaed0f2 (bindings: rust: examples: replace tools examples with use case examples, 2023-06-23) b37bd9e (bindings: rust: examples: consistency cleanup, 2023-06-23) 06c8ad9 (bindings: rust: package new examples in the distro tarball, 2023-06-15) CHANGELOG 0.2.0 -> 0.2.1: acebcf2 (bindings: rust: feature gate unreleased features, 2023-10-06) Signed-off-by: Erik Schilling --- Cargo.lock | 4 ++-- crates/vhost-device-gpio/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2b7014..d91550b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -411,9 +411,9 @@ checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libgpiod" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e9fdf4b437063f5697151f9ead12bafa223958e243f2f736107ec68c2b88231" +checksum = "f726cc57967d3b982e1b3074cdfa8f68a3b36f345fd80b5c0ccb0dfd7dee0f79" dependencies = [ "errno 0.2.8", "intmap", diff --git a/crates/vhost-device-gpio/Cargo.toml b/crates/vhost-device-gpio/Cargo.toml index 779453c..905d87a 100644 --- a/crates/vhost-device-gpio/Cargo.toml +++ b/crates/vhost-device-gpio/Cargo.toml @@ -29,7 +29,7 @@ vm-memory = "0.12" vmm-sys-util = "0.11" [target.'cfg(target_env = "gnu")'.dependencies] -libgpiod = { version = "0.1" } +libgpiod = "0.2" [dev-dependencies] assert_matches = "1.5"