NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #4313 most downloaded on crates.io
Provides access to GPIOs using the Linux sysfs interface.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 2.5 years
Nearly every release is documented
notes for 20 of 21 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
21 releases · first in 2015
Minimum supported Rust version updated to 1.65.0
Error type can now be converted to a std::io::Error using From / Into.Changed Updated nix to version 0.23 . Updated mio to version 0.8 .
nix to version 0.23.mio to version 0.8.One column per quarter.
[breaking-change] Renamed use_tokio feature async-tokio .
use_tokio feature async-tokio.tokio crate version 1.nix to version 0.22.mio to version 0.7.futures to version 0.3.Nothing published for this version
Relaxed path restrictions on Pin::from_path to allow for directories outside of /sys/class/gpio, required for some SOCs that symlink outside of that d
Pin::from_path to allow for directories
outside of /sys/class/gpio, required for some SOCs that symlink outside of
that directory.Add support for active_low configuration.
active_low configuration.The crate now compiles (to more-or-less nothing) on OSX which can be useful in some contexts.
? are now used in the codebase.Copy added where appropriate in some places.Support for asynchronous polling for changes using tokio/futures is now supported.
A couple issues were fixed that limited the circumstances where Pin::from_path would work in various environments.
Pin::from_path would work in various environments.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.
from_path constructor to allow for use of the library with symlinked
GPIOs to interact with things like the IOs exported by
gpio-utils.Pin now has an is_exported() function
Pin now has an is_exported() functionA few additional traits are derived for types exposed by the library.
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 compatabi
Error type than using io::Result.
This allows for better errors to be provided from the library.
This breaks backwards compatability.get_pin method added for accessing pin number
get_pin method added for accessing pin numberget_direction method added for querying Pin directionWe now work with the latest version of nix
Converting from a nix error to an io::Error has been simplified and updated to work with future versions of nix
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.Updates to work with latest rust nightlies
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…
The core module has been removed in favor of putting all structs, functions, and macros directly in the sysfs_gpio crate.
core module has been removed in favor of putting all
structs, functions, and macros directly in the sysfs_gpio
crate.with_exported method taking a closure for more convenient
export/unexport in all cases.unexport never actually
unexporting GPIOs.Include additional documentation for cross-compilation
try_unexport! macropoll example showing input functionaltyget_value. In 0.1.1,
this function would always fail.Initial version of the library with basic functionality
export/unexport/get_value/set_value/set_directionYour coding agent can read these notes before it upgrades. Set up the MCP server →