https://github.com/rusty-desktop/libdrm-rs
Rust Bindings for libdrm
https://github.com/rusty-desktop/libdrm-rs
kms libdrm rust
Last synced: 3 months ago
JSON representation
Rust Bindings for libdrm
- Host: GitHub
- URL: https://github.com/rusty-desktop/libdrm-rs
- Owner: rusty-desktop
- Created: 2016-06-20T16:18:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-28T21:05:12.000Z (about 9 years ago)
- Last Synced: 2026-01-11T18:40:18.444Z (5 months ago)
- Topics: kms, libdrm, rust
- Language: Rust
- Size: 58.6 KB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libdrm-rs
This crate contains bindings for libdrm functionality in linux. This is a WIP.
Currently it exposes bindings for:
- drm.h
- drm_mode.h
- xf86drm.h
- xf86drmMode.h
This is a learning experience for me, so mistakes will be made. If you have any
suggestions, let me know.
The purpose of this crate is to provide low-level bindings that map directly to
the libraries in order to be able to maintain compatibility as new versions of
libdrm appear. I plan to work on safer, more idiomatic, higher level constructs
once I've tested this enough but, for the moment, this will remain as close to 1:1 map as possible.
This was hand-made as bindgen had issues with the files and I didn't test other
generators.
As I said, this is a learning experience as I have very little experience with
Rust. If you see something wrong, please let me know.