Crates.io | framebuffer |
lib.rs | framebuffer |
version | 0.3.1 |
source | src |
created_at | 2015-11-15 19:08:25.330258 |
updated_at | 2021-11-13 09:18:54.74633 |
description | Basic framebuffer abstraction. Handles the necessary ioctls and mmaps the framebuffer device. |
homepage | |
repository | https://github.com/roysten/rust-framebuffer |
max_upload_size | |
id | 3432 |
size | 812,579 |
Basic framebuffer abstraction for Rust.
An example can be found in the examples directory. Use the following command to compile and run:
sudo cargo run --release --example rust-logo
To avoid having to run all commands as root, you can add yourself to the video group:
sudo usermod -aG video <username>
Make sure to check out the starfield example as well!
Basic documentation is available: http://roysten.github.io/rust-framebuffer/target/doc/framebuffer/. The documentation is a bit sparse, but I hope the examples can make up for that.