linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libgpiod 0/3] bindings: rust: pre-release tweaks
@ 2025-09-26 14:35 Bartosz Golaszewski
  2025-09-26 14:35 ` [PATCH libgpiod 1/3] bindings: rust: complete the unification of exports in examples Bartosz Golaszewski
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-09-26 14:35 UTC (permalink / raw)
  To: Erik Wierich, Viresh Kumar, Linus Walleij; +Cc: linux-gpio, Bartosz Golaszewski

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>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-30  7:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-26 14:35 [PATCH libgpiod 0/3] bindings: rust: pre-release tweaks Bartosz Golaszewski
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

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).