NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #4060 most downloaded on crates.io
Linux GPIO Character Device Support (/dev/gpiochipN)
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
Updated bitflags to version 2.4 .
0.27.2.4.Updated nix to version 0.23 .
0.23.One column per quarter.
Breaking change of LineEventHandle::get_event() which now expects &mut self .
is_empty() function for Lines struct.LineEventHandle::get_event() which now expects &mut self.nix to version 0.22.quicli to version 0.4.bitflags to version 1.3.Removed pub "errors" module. Error now exposed at top level.
Removed the error-chain dependency.
Refactored Errors:
error-chain dependency.ErrorKind and IoctlKind enums.Error type implements the std::error::Error trait.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.
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.
Lines object (plural) was added. It is a collection of individual Line objects on a single Chip which can be read or written simultaneously with a single system call.Line now just contains the reference to the Chip and the offset number. No system call is incurred when one is created.LineInfo struct which can be obtained from the function Line::info(). This incurs a system call to retrieve the information.Line can't fail unless the caller specifies an offset that is out of range of the chip.LineIterator can not fail since it checks the offset range. So now its item is just a Line, and not Result<Line>.Line::refresh() so it was removed.Line object is trivial to create, it is now OK to have Lines be a simple collection of Line structs.Initial release of the library with basic operations centered around operating on a single line at a time.
Your coding agent can read these notes before it upgrades. Set up the MCP server →