Crates.io | raylib-ffi |
lib.rs | raylib-ffi |
version | 5.5.0 |
source | src |
created_at | 2022-12-09 15:47:04.560737 |
updated_at | 2024-11-23 01:44:18.55656 |
description | Automatic raw Rust bindings to raylib |
homepage | https://github.com/ewpratten/raylib-ffi |
repository | https://github.com/ewpratten/raylib-ffi |
max_upload_size | |
id | 733326 |
size | 14,803,229 |
raylib-ffi
aims to provide a "no frills" direct binding to raylib for rust developers.
This library is largely auto-generated by the code in build/
. Raylib itself exposes lots of metadata, meaning that wrappers can auto-translate the C API into whatever language is needed (in this case, Rust).
Fedora:
dnf install clang-devel alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel libatomic cmake
raylib-ffi
bundles a rust version of the example project from raylib proper. To verify your build of this library worked, run:
cargo run --example basic
raylib-ffi
follows SemVer.
The major and minor version numbers of a raylib-ffi
will always match the version of raylib it was built against. The patch version may be incremented if a rust-only fix is needed at any point.