bindings: rust: Add libgpiod crate
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 18 Nov 2022 10:44:38 +0000 (16:14 +0530)
committerBartosz Golaszewski <brgl@bgdev.pl>
Mon, 21 Nov 2022 19:05:12 +0000 (20:05 +0100)
commit91f9373c655810e9f9b3ba0904175befd1369019
tree038c70ad063efbfa841d5255133f577bb5dfd506
parentb8d6cd1cb256cb425407cca19fe433c6d9c8bfc1
bindings: rust: Add libgpiod crate

Add rust wrapper crate, around the libpiod-sys crate added earlier, to
provide a convenient interface for the users.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
12 files changed:
bindings/rust/Cargo.toml
bindings/rust/libgpiod/Cargo.toml [new file with mode: 0644]
bindings/rust/libgpiod/src/chip.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/edge_event.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/event_buffer.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/info_event.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/lib.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/line_config.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/line_info.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/line_request.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/line_settings.rs [new file with mode: 0644]
bindings/rust/libgpiod/src/request_config.rs [new file with mode: 0644]