bindings: rust: examples: add dedicated examples
authorKent Gibson <warthog618@gmail.com>
Wed, 14 Jun 2023 03:54:26 +0000 (11:54 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 14 Jun 2023 13:28:07 +0000 (15:28 +0200)
commit53226d51aaf762b8e3f67aa3f23520fe04a25a96
treedd8ee769f33fa455014943b20e0bc021ef2c5fa5
parent953dbd6af794e528e05a22ba4bed4b02e49a46fd
bindings: rust: examples: add dedicated examples

Add rust equivalents of the core examples.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Erik Schilling <erik.schilling@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/rust/libgpiod/examples/get_line_value.rs [new file with mode: 0644]
bindings/rust/libgpiod/examples/toggle_line_value.rs [new file with mode: 0644]
bindings/rust/libgpiod/examples/watch_line_value.rs [new file with mode: 0644]