gpio-cdev
Linux GPIO Character Device Support (/dev/gpiochipN)
0.6.0
6.9M downloads/mo
#3805 most downloaded on crates.io
rust-embedded/gpio-cdev
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 10 months
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
7 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
7 releases · Sep 2018 to Sep 2023Releases
latest 7-
0.6.012 Sep 2023Release notes
Open source →- Updated nix to version
0.27. - Updated bitflags to version
2.4. - MSRV is now 1.65.0.
Release notes
Open source →- Updated nix to version
0.27. - Updated bitflags to version
2.4. - MSRV is now 1.65.0.
- Updated nix to version
-
0.5.122 Nov 2021 -
0.5.022 Sep 2021Release notes
Open source →- Update Tokio to 1.x. #55.
- Fix lsgpio example to output gpio line flags.
- Add
is_empty()function forLinesstruct. - Add common trait implementations for public structures.
- Breaking change of
LineEventHandle::get_event()which now expects&mut self. - MSRV is now 1.46.0.
- Updated
nixto version0.22. - Updated
quiclito version0.4. - Updated
bitflagsto version1.3.
Release notes
Open source →- Update Tokio to 1.x. #55.
- Fix lsgpio example to output gpio line flags.
- Add
is_empty()function forLinesstruct. - Add common trait implementations for public structures.
- Breaking change of
LineEventHandle::get_event()which now expects&mut self. - MSRV is now 1.46.0.
- Updated
nixto version0.22. - Updated
quiclito version0.4. - Updated
bitflagsto version1.3.
-
0.4.025 Aug 2020Release notes
Open source →- Removed pub "errors" module. Error now exposed at top level.
- MSRV is now 1.39.0
- Add support behind a feature flag for reading events from a line as a Stream via tokio. #35.
-
0.3.001 Jun 2020Release notes
Open source →Refactored Errors:
- Removed the
error-chaindependency. - Errors are now implemented "manually" with
ErrorKindandIoctlKindenums. - The encompassing
Errortype implements thestd::error::Errortrait.
- Removed the
-
0.2.017 May 2019Release notes
Open source →Adds the ability to create a collection of lines from a single chip and read or write those lines simultaneously with a single stystem call.
- A new
Linesobject (plural) was added. It is a collection of individualLineobjects on a singleChipwhich can be read or written simultaneously with a single system call. - A
Linenow just contains the reference to the Chip and the offset number. No system call is incurred when one is created. - Information about an individual line is now represented by a separate
LineInfostruct which can be obtained from the functionLine::info(). This incurs a system call to retrieve the information. - Creating a
Linecan't fail unless the caller specifies an offset that is out of range of the chip. - The
LineIteratorcan not fail since it checks the offset range. So now its item is just aLine, and notResult<Line>. - There was no longer a need for
Line::refresh()so it was removed. - Since a
Lineobject is trivial to create, it is now OK to haveLinesbe a simple collection ofLinestructs.
- A new
-
0.1.029 Sep 2018Release notes
Open source →- Initial release of the library with basic operations centered around operating on a single line at a time.