On Mon, Nov 7, 2022 at 10:57 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote: > > This adds libgpiod-sys rust crate, which provides FFI (foreign function > interface) bindings for libgpiod APIs. > > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> > --- > .gitignore | 5 ++++ > bindings/rust/Cargo.toml | 5 ++++ > bindings/rust/libgpiod-sys/Cargo.toml | 20 +++++++++++++ > bindings/rust/libgpiod-sys/build.rs | 41 +++++++++++++++++++++++++++ > bindings/rust/libgpiod-sys/src/lib.rs | 13 +++++++++ > 5 files changed, 84 insertions(+) > create mode 100644 bindings/rust/Cargo.toml > create mode 100644 bindings/rust/libgpiod-sys/Cargo.toml > create mode 100644 bindings/rust/libgpiod-sys/build.rs > create mode 100644 bindings/rust/libgpiod-sys/src/lib.rs > > diff --git a/.gitignore b/.gitignore > index 6c08415b390d..9f2fcf440c5d 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -35,3 +35,8 @@ stamp-h1 > # profiling > *.gcda > *.gcno > + > +# Added by cargo > + > +target > +Cargo.lock This should be put into bindings/rust/.gitignore Bart