- Added support for querying the configuration of a SPI device.
- Nix updated to 0.26
- bitflags updated to 2.3
- Minimum Supported Rust Version is now 1.56.1
- Added support for delay transactions.
- Implement
AsRawFd
forSpidev
to allow access to the underlying file descriptor. - Updated nix to version
0.23
.
- Added
Debug
implementation forSpidev
- Added
Debug
,Default
,Copy
andPartialEq
implementations forSpidevOptions
- Nix bumped to 0.22
- bitflags updated to 1.3
- Minimum supported rust version is now 1.46.0
- Support Rust 2018 edition
- Minimum supported rust version is now 1.31.0
- Bitflags dep bumped to 1.0
- Nix bumped to 0.14
- Minimum supported rust version is now 1.26.0
- APIs added to expose underlying file object (#13).
- The older supported version of rustc for this release is 1.7.0
- Bump to nix 0.6.0
- transfer_multiple now
receives an
IntoIterator
rather than requiring that a Vec reference be provided. (#7) - transfer_multiple no longer performs heap allocations internally (nor does it require heap allocations to be used). (#8)
- Bump to newer version of nix to support older versions of rust
- Miscellaneous non-functional code changes
- Updates to work with upstream versions of nix and other libraries
- Minor API changes and testing improvements
Initial release of the library with all major planned features, tested on nightlies and on 1.0.0. Major features supported include the following:
- Support for opening and configuring a SPI device
- Support for performing half-duplex reads/writes
- Support for performing single full-duplex SPI transfers
- Support for performing multiple chained SPI transfers
- Support for configuring settings for each SPI transfer individually