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 <erik.schilling@linaro.org>
This commit is contained in:
Erik Schilling 2023-09-28 12:19:18 +02:00 committed by Viresh Kumar
parent 026cf0e532
commit bde810043d
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@ -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",

View File

@ -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"