Expand description
§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.
Modules§
- cpp
- Types for interfacing with C++
- graphics
- 2D graphics module: sprites, text, shapes..
- system
- Base module of SFML, defining various utilities.
- window
- Provides OpenGL-based windows, and abstractions for events and input handling.
Enums§
- SfError
- An SFML operation has failed
Type Aliases§
- SfResult
- Result of a fallible SFML operation