- A couple issues were fixed that limited the circumstances where
Pin::from_path
would work in various environments.
0.4.3 - 2016-06-22
- Added
from_path
constructor to allow for use of the library with symlinked GPIOs to interact with things like the IOs exported by gpio-utils. - Bumped Nix dependency to version 0.6.0 (removes some compile warnings)
0.4.2 - 2016-04-17
Pin
now has anis_exported()
function
- Moved to nix 0.5 which fixes problems on some architectures
0.4.1 - 2016-04-8
- A few additional traits are derived for types exposed by the library.
- Links/Docs updated with move to rust-embedded Github org
0.4.0 - 2015-12-04
- We now expose our own
Error
type than using io::Result. This allows for better errors to be provided from the library. This breaks backwards compatability.
- Only open file for reading when reading value from file
0.3.3 - 2015-09-25
get_pin
method added for accessing pin numberget_direction
method added for querying Pin direction
- Updates/Fixes to documentation
- Non-functional code refactoring and cleanup
0.3.2 - 2015-07-13
- We now work with the latest version of nix
0.3.1 - 2015-05-21
- Converting from a nix error to an io::Error has been simplified and updated to work with future versions of nix
- Documentation now refers to package as
sysfs-gpio
with a dash instead of an underscore as per common convention. The package name on crates.io cannot be changed right now, however. - Documentation updates.
0.3.0 - 2015-04-20
- Updates to work with latest rust nightlies
- Support for interrupts on pins was added via epoll. This is an efficient and performant way to wait for a pin to change state before performing some operation.
0.2.1 - 2015-04-06
- Library updated to work with latest nightlies (~1.0.0 beta). Due to std situation, still need to depend on a few deprecated features for the examples (synchronous timers).
0.2.0 - 2015-03-19
- The
core
module has been removed in favor of putting all structs, functions, and macros directly in thesysfs_gpio
crate.
- Project now publishes documentation and has travisci support
- Added
with_exported
method taking a closure for more convenient export/unexport in all cases.
- Fixed a critical bug that resulted in
unexport
never actually unexporting GPIOs.
0.1.1 - 2015-03-17
- Added
try_unexport!
macro - Include additional documentation for cross-compilation
- Added
poll
example showing input functionalty
- Fixed bug preventing the correct operation of
get_value
. In 0.1.1, this function would always fail.
0.1.0 - 2015-03-15
- Initial version of the library with basic functionality
- Support for
export
/unexport
/get_value
/set_value
/set_direction