gpio 0.4.1

Fast GPIO interfaces for Linux
Documentation
  • Coverage
  • 92%
    23 out of 25 items documented2 out of 19 items with examples
  • Size
  • Source code size: 14.31 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.84 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mbr/gpio-rs
    21 2 3
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mbr

Rust GPIO

Deals with GPIO access on Linux and bare metal embedded systems, through sysfs and direct memory access. Works on stable Rust.

Roadmap

  • GPIO write support
  • Read support
  • Interrupt support

Other libraries

Other libraries can be found on crates.io. These include:

  • sysfs_gpio <https://github.com/rust-embedded/rust-sysfs-gpio>_ handles GPIO only via SysFS, but exposes all features. Slightly lower level.

  • cylus <https://github.com/Vikaton/cylus>_ Documentation is dead, does a few questionable things like unwrapping()

  • cupi <https://github.com/cuprumpi/cupi>_ Most comprehensive GPIO library, includes almost all features planned for gpio. Does not use volatile.

    TODO: Benchmark