From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Erik Wierich <erik@riscstar.com>,
Viresh Kumar <viresh.kumar@linaro.org>,
Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [PATCH libgpiod 0/3] bindings: rust: pre-release tweaks
Date: Fri, 26 Sep 2025 16:35:41 +0200 [thread overview]
Message-ID: <20250926-rust-release-tweaks-v1-0-beae932eb691@linaro.org> (raw)
Here are some final tweaks before I do the 1.0.0 release of libgpiod
rust crates. The first patch completes what I though I already did last
time when updating the examples but I must have borked. The second patch
just runs `rustfmt --edition 2024` on all source files. Finally the last
patch adds some examples to the readme so that the landing page on
crates.io already shows how to use the code.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (3):
bindings: rust: complete the unification of exports in examples
bindings: rust: update formatting to --edition 2024
bindings: rust: add examples to the README.md in the libgpiod crate
bindings/rust/gpiosim-sys/src/lib.rs | 2 +-
bindings/rust/gpiosim-sys/src/sim.rs | 2 +-
bindings/rust/libgpiod/README.md | 78 ++++++++++++++
.../libgpiod/examples/buffered_event_lifetimes.rs | 2 +-
.../rust/libgpiod/examples/find_line_by_name.rs | 2 +-
bindings/rust/libgpiod/examples/get_chip_info.rs | 2 +-
bindings/rust/libgpiod/examples/get_line_info.rs | 2 +-
bindings/rust/libgpiod/examples/get_line_value.rs | 2 +-
.../libgpiod/examples/get_multiple_line_values.rs | 2 +-
.../examples/reconfigure_input_to_output.rs | 2 +-
.../rust/libgpiod/examples/toggle_line_value.rs | 17 +--
.../examples/toggle_multiple_line_values.rs | 17 +--
bindings/rust/libgpiod/examples/watch_line_info.rs | 2 +-
.../rust/libgpiod/examples/watch_line_rising.rs | 23 ++--
.../rust/libgpiod/examples/watch_line_value.rs | 25 +++--
.../examples/watch_multiple_line_values.rs | 18 ++--
bindings/rust/libgpiod/src/chip.rs | 4 +-
bindings/rust/libgpiod/src/edge_event.rs | 3 +-
bindings/rust/libgpiod/src/event_buffer.rs | 3 +-
bindings/rust/libgpiod/src/info_event.rs | 3 +-
bindings/rust/libgpiod/src/lib.rs | 2 +-
bindings/rust/libgpiod/src/line_config.rs | 3 +-
bindings/rust/libgpiod/src/line_info.rs | 3 +-
bindings/rust/libgpiod/src/line_request.rs | 4 +-
bindings/rust/libgpiod/src/line_settings.rs | 3 +-
bindings/rust/libgpiod/src/request_config.rs | 2 +-
bindings/rust/libgpiod/tests/chip.rs | 2 +-
bindings/rust/libgpiod/tests/common/config.rs | 3 +-
bindings/rust/libgpiod/tests/edge_event.rs | 120 ++++++++++++---------
bindings/rust/libgpiod/tests/info_event.rs | 58 +++++-----
bindings/rust/libgpiod/tests/line_info.rs | 2 +-
bindings/rust/libgpiod/tests/line_request.rs | 12 ++-
bindings/rust/libgpiod/tests/request_config.rs | 2 +-
33 files changed, 276 insertions(+), 151 deletions(-)
---
base-commit: 97ee30872853b2c9fbb448240012909d985f2e19
change-id: 20250925-rust-release-tweaks-d1a94bfda0c4
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
next reply other threads:[~2025-09-26 14:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-26 14:35 Bartosz Golaszewski [this message]
2025-09-26 14:35 ` [PATCH libgpiod 1/3] bindings: rust: complete the unification of exports in examples Bartosz Golaszewski
2025-09-29 6:21 ` Erik Schilling
2025-09-29 7:29 ` Bartosz Golaszewski
2025-09-26 14:35 ` [PATCH libgpiod 2/3] bindings: rust: update formatting to --edition 2024 Bartosz Golaszewski
2025-09-26 14:35 ` [PATCH libgpiod 3/3] bindings: rust: add examples to the README.md in the libgpiod crate Bartosz Golaszewski
2025-09-29 6:21 ` [PATCH libgpiod 0/3] bindings: rust: pre-release tweaks Erik Schilling
2025-09-29 7:34 ` Viresh Kumar
2025-09-30 7:54 ` Bartosz Golaszewski
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=20250926-rust-release-tweaks-v1-0-beae932eb691@linaro.org \
--to=brgl@bgdev.pl \
--cc=bartosz.golaszewski@linaro.org \
--cc=erik@riscstar.com \
--cc=linus.walleij@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).