Crates.io | drm-rs |
lib.rs | drm-rs |
version | 0.1.3 |
source | src |
created_at | 2016-06-20 19:16:29.475641 |
updated_at | 2017-08-02 14:52:22.704919 |
description | (WIP) libdrm bindings to be able to use Kernel Mode Setting on Linux |
homepage | |
repository | https://github.com/rust-kms/libdrm-rs |
max_upload_size | |
id | 5437 |
size | 107,838 |
This crate contains bindings for libdrm functionality in linux. This is a WIP. Currently it exposes bindings for:
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.