2 unstable releases
Uses new Rust 2024
new 0.2.0 | Apr 25, 2025 |
---|---|
0.1.0 | Apr 19, 2025 |
#113 in Graphics APIs
136 downloads per month
Used in 2 crates
1.5MB
32K
SLoC
sf2g
Minimal Rust bindings for the Graphics module of SFML 2, the Simple and Fast Multimedia Library. Fork of rust-sfml.
Platform support
Platform | Development and testing | CI (basic tests) |
---|---|---|
🐧 Linux | ✅ Most tested | |
🪟 Windows (MSVC) | ⚠️ Rarely tested. Looking for testers/maintainers! | |
🐧 -> 🪟 (mingw-w64) | ⚠️ Cross-compile from Linux to Windows. Somewhat tested. | ❌ |
🍎 Mac OS X | ❌ Untested. Looking for testers/maintainers! |
Prerequisites
- Rust 1.86 or later
- CMake, and a C++ toolchain for building SFML
- 🐧 On Linux, you need the following dependencies installed:
- Window module:
libGL libX11 libXcursor libXrandr
- Graphics module:
libfreetype
- Window module:
License
This software is a binding of the SFML library created by Laurent Gomila, which is provided under the Zlib/png license.
This software is provided under the same license as SFML, the Zlib/png license.
Dependencies
~8MB
~163K SLoC