raylib-ffi (5.5.1-dev.20260428-165258.4224cc8)

Published 2026-04-28 16:53:10 +00:00 by Evan Pratten

Installation

[registries.forgejo]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add raylib-ffi@5.5.1-dev.20260428-165258.4224cc8 --registry forgejo

About this package

Automatic raw Rust bindings to raylib

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.

Dependencies

ID Version
num-derive ^0.4.2
num-traits ^0.2.19
bindgen ^0.70.1
cmake ^0.1.51
regex ^1
serde ^1.0
serde_json ^1.0

Keywords

raylib graphics
Details
Cargo
2026-04-28 16:53:10 +00:00
12
Evan Pratten <evan@ewpratten.com>
Zlib
2.5 MiB
Assets (1)
Versions (3) View all