From: Erik Schilling <erik.schilling@linaro.org>
To: Linux-GPIO <linux-gpio@vger.kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
Erik Schilling <erik.schilling@linaro.org>
Subject: [libgpiod][PATCH 2/2] bindings: rust: mention the libgpiod crate from libgpiod-sys
Date: Fri, 30 Jun 2023 12:46:44 +0200 [thread overview]
Message-ID: <20230630-rust-readme-v1-2-1ce9e6f7985c@linaro.org> (raw)
In-Reply-To: <20230630-rust-readme-v1-0-1ce9e6f7985c@linaro.org>
If people view this README.md on crates.io [1], they likely want to
use the safe wrapper instead. So this hints the existence of that other
crate.
[1] https://crates.io/crates/libgpiod-sys
---
bindings/rust/libgpiod-sys/README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bindings/rust/libgpiod-sys/README.md b/bindings/rust/libgpiod-sys/README.md
index f9db496..05acd9e 100644
--- a/bindings/rust/libgpiod-sys/README.md
+++ b/bindings/rust/libgpiod-sys/README.md
@@ -8,6 +8,9 @@ SPDX-FileCopyrightText: 2022 Viresh Kumar <viresh.kumar@linaro.org>
Automatically generated Rust FFI bindings via
[bindgen](https://github.com/rust-lang/rust-bindgen).
+Typically, you will want to use the safe `libgpiod` wrapper crate instead of
+these unsafe wrappers around the C lib.
+
## Build requirements
A compatible variant of the C library needs to detectable using pkg-config.
--
2.41.0
next prev parent reply other threads:[~2023-06-30 10:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-30 10:46 [libgpiod][PATCH 0/2] bindings: rust: add README for crates.io Erik Schilling
2023-06-30 10:46 ` [libgpiod][PATCH 1/2] bindings: rust: add README.md for libgpiod crate Erik Schilling
2023-07-03 4:21 ` Viresh Kumar
2023-06-30 10:46 ` Erik Schilling [this message]
2023-07-03 4:22 ` [libgpiod][PATCH 2/2] bindings: rust: mention the libgpiod crate from libgpiod-sys Viresh Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230630-rust-readme-v1-2-1ce9e6f7985c@linaro.org \
--to=erik.schilling@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).