PackageTrack
Sign in Get early access

gpio-cdev

Linux GPIO Character Device Support (/dev/gpiochipN)

0.6.0 6.9M downloads/mo #3805 most downloaded on crates.io rust-embedded/gpio-cdev

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships fairly regularly

a new release about every 10 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

7 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Sep 2018 to Sep 2023
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 0.6.0 12 Sep 2023
    Release notes
    • Updated nix to version 0.27.
    • Updated bitflags to version 2.4.
    • MSRV is now 1.65.0.
    Open source →
    Release notes
    • Updated nix to version 0.27.
    • Updated bitflags to version 2.4.
    • MSRV is now 1.65.0.
    Open source →
  2. 0.5.1 22 Nov 2021
    Release notes
    • Updated nix to version 0.23.
    Open source →
    Release notes
    • Updated nix to version 0.23.
    • MSRV is now 1.59.0.
    Open source →
  3. 0.5.0 22 Sep 2021
    Release notes
    • Update Tokio to 1.x. #55.
    • Fix lsgpio example to output gpio line flags.
    • Add is_empty() function for Lines struct.
    • Add common trait implementations for public structures.
    • Breaking change of LineEventHandle::get_event() which now expects &mut self.
    • MSRV is now 1.46.0.
    • Updated nix to version 0.22.
    • Updated quicli to version 0.4.
    • Updated bitflags to version 1.3.
    Open source →
    Release notes
    • Update Tokio to 1.x. #55.
    • Fix lsgpio example to output gpio line flags.
    • Add is_empty() function for Lines struct.
    • Add common trait implementations for public structures.
    • Breaking change of LineEventHandle::get_event() which now expects &mut self.
    • MSRV is now 1.46.0.
    • Updated nix to version 0.22.
    • Updated quicli to version 0.4.
    • Updated bitflags to version 1.3.
    Open source →
  4. 0.4.0 25 Aug 2020
    Release notes
    • Removed pub "errors" module. Error now exposed at top level.
    • MSRV is now 1.39.0
    • Add support behind a feature flag for reading events from a line as a Stream via tokio. #35.
    Open source →
  5. 0.3.0 01 Jun 2020
    Release notes

    Refactored Errors:

    • Removed the error-chain dependency.
    • Errors are now implemented "manually" with ErrorKind and IoctlKind enums.
    • The encompassing Error type implements the std::error::Error trait.
    Open source →
  6. 0.2.0 17 May 2019
    Release notes

    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.

    • A new 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.
    • A Line now just contains the reference to the Chip and the offset number. No system call is incurred when one is created.
    • Information about an individual line is now represented by a separate LineInfo struct which can be obtained from the function Line::info(). This incurs a system call to retrieve the information.
    • Creating a Line can't fail unless the caller specifies an offset that is out of range of the chip.
    • The LineIterator can not fail since it checks the offset range. So now its item is just a Line, and not Result<Line>.
    • There was no longer a need for Line::refresh() so it was removed.
    • Since a Line object is trivial to create, it is now OK to have Lines be a simple collection of Line structs.
    Open source →
  7. 0.1.0 29 Sep 2018
    Release notes
    • Initial release of the library with basic operations centered around operating on a single line at a time.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive