raylib-ffi

Crates.ioraylib-ffi
lib.rsraylib-ffi
version5.5.1
created_at2022-12-09 15:47:04.560737+00
updated_at2025-12-17 22:31:17.079081+00
descriptionAutomatic raw Rust bindings to raylib
homepagehttps://git.ewpratten.com/evan/raylib-ffi
repositoryhttps://git.ewpratten.com/evan/raylib-ffi
max_upload_size
id733326
size14,768,592
Evan Pratten (ewpratten)

documentation

https://docs.rs/raylib-ffi

README

Direct raylib bindings for Rust

Crates.io Docs.rs Build Status

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).

Dependencies

Fedora:

dnf install clang-devel alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel libatomic cmake

Verifying your build

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

Versioning policy

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.

Commit count: 0

cargo fmt