Rust bindings for raylib, a simple and easy-to-use library to learn videogames programming.
DEPRECATED: Please use the more feature-complete bindings deltaphc/raylib-rs instead.
The raw binding layer raylib-sys
is functionally complete with an automatic build script tested on macOS, Windows and Linux. This downloads raylib binaries and statically links your project. The higher level raylib
crate is incomplete.
The following tools are required to build raylib-sys
:
curl
clang
- Windows binaries can be downloaded herepkg-config
- Only required for macOS and Linux
The following targets are tested to work:
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
However, it should also work on the following:
i686-apple-darwin
i686-pc-windows-msvc
i686-unknown-linux-gnu
Future support will be added for the following:
i686-pc-windows-gnu
x86_64-pc-windows-gnu
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
- Thanks raysan5 for building an amazing library.