{"id":15662375,"url":"https://github.com/warthog618/gpiocdev-rs","last_synced_at":"2025-04-07T06:05:08.201Z","repository":{"id":45660002,"uuid":"445189273","full_name":"warthog618/gpiocdev-rs","owner":"warthog618","description":"A Rust library for accessing GPIO lines on Linux platforms using the GPIO character device","archived":false,"fork":false,"pushed_at":"2024-10-03T08:32:42.000Z","size":981,"stargazers_count":18,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T04:29:24.863Z","etag":null,"topics":["gpio","gpio-character-device","gpio-library","linux","linux-gpio","pins","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warthog618.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSES/Apache-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-06T14:00:58.000Z","updated_at":"2024-10-03T08:32:39.000Z","dependencies_parsed_at":"2024-03-05T02:24:49.252Z","dependency_job_id":"77230172-f753-422a-a387-600373d9095e","html_url":"https://github.com/warthog618/gpiocdev-rs","commit_stats":{"total_commits":387,"total_committers":4,"mean_commits":96.75,"dds":0.007751937984496138,"last_synced_commit":"0e91021709893354deee5cc9f4d644a53d050b29"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warthog618%2Fgpiocdev-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warthog618%2Fgpiocdev-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warthog618%2Fgpiocdev-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warthog618%2Fgpiocdev-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warthog618","download_url":"https://codeload.github.com/warthog618/gpiocdev-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601447,"owners_count":20964864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gpio","gpio-character-device","gpio-library","linux","linux-gpio","pins","rust"],"created_at":"2024-10-03T13:32:11.369Z","updated_at":"2025-04-07T06:05:08.180Z","avatar_url":"https://github.com/warthog618.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2022 Kent Gibson \u003cwarthog618@gmail.com\u003e\n\nSPDX-License-Identifier: CC0-1.0\n--\u003e\n# gpiocdev-rs\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/warthog618/gpiocdev-rs/rust.yml?logo=github\u0026branch=master)](https://github.com/warthog618/gpiocdev-rs/actions/workflows/rust.yml)\n\nA Rust library for accessing GPIO lines on Linux platforms using the GPIO character device.\n\nThis is the equivalent of [libgpiod](https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/), but in pure Rust.\n\n## Crates\n\n[gpiocdev](https://github.com/warthog618/gpiocdev-rs/tree/master/lib) provides a high level API for accessing GPIO lines from Rust applications.\n\nYou probably want this one.\n\n[gpiocdev-embedded-hal](https://github.com/warthog618/gpiocdev-rs/tree/master/embedded-hal) provides\n[embedded_hal](https://crates.io/crates/embedded-hal) traits for [gpiocdev](https://github.com/warthog618/gpiocdev-rs/tree/master/lib) Requests.\n\nAlso provides a simplified interface that may be useful for basic use cases.\n\n[gpiocdev-cli](https://github.com/warthog618/gpiocdev-rs/tree/master/cli) provides a command line tool to access and control GPIO lines.\n\nThe tool can be useful for writing scripts accessing the GPIOs, and for debugging GPIO setups.\n\n[gpiocdev-uapi](https://github.com/warthog618/gpiocdev-rs/tree/master/uapi) provides a thin safe Rust wrapper around the character device ioctls.\n\nThe [gpiocdev](https://github.com/warthog618/gpiocdev-rs/tree/master/lib) crate provides a higher level abstraction, so you should use that unless you have some particular interest in calling the Linux GPIO ioctls directly.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSES/Apache-2.0.txt) or\n  \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSES/MIT.txt) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarthog618%2Fgpiocdev-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarthog618%2Fgpiocdev-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarthog618%2Fgpiocdev-rs/lists"}