This release mostly updated the sources for the latest Rust compiler and dependencies, while also allowing users to select the version of the libiio bindings to use.
- Upgraded to Rust Edition 2021, MSRV 1.73.0
- New bindings in the -sys crate for libiio v0.24 & v0.25
- Cargo build features for selecting bindings to older libiio versions (v0.24, v0.23, etc)
- Conditional features based on the version of libiio.
- Updated examples and utils to use
clap
v3.2, with forward-looking implementation. - Added buildtst.sh script for local CI testing. This runs the cargo check, test, clippy, and doc for the latest stable compiler and the MSRV.
- Fixed new clippy warnings.
- Updated
nix
dependency to v0.29 - Renamed
iio_info_rs
toriio_info
to be compatible with naming of other utilities and examples. - Converted to explicit re-exports to avoid ambiguous warnings.
- Added a mutable iterator for channel data in a buffer (to fill the buffer)
- Added lifetime to buffer iterator so as not to outlive the buffer.
- [Breaking]: Buffer iterator now returns a reference to the item in the buffer, to be consistent with mutable iterator and slice iterators.
- PR #28- Move set_num_kernel_buffers() to Device
- PR #22- Disable chrono default features to mitigate segfault potential in time crate
- Added initial CI support to test building and format. (Still can't run unit tests in CI due to iio kernel module requirements).