All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.27.2.4.0.23.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.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.
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.