[![Discord][discord-shield]][discord-link]
April 3, 2025 ยท View on GitHub
rust-sfml

Rust bindings for SFML, the Simple and Fast Multimedia Library.
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 - Audio module:
libopenal libvorbisenc libvorbisfile libvorbis
- Window module:
Documentation
The API documentation is available at: https://docs.rs/sfml/
If you need help with setting up rust-sfml on your system, you can take a look at the wiki.
Please take note that:
- This wiki is supported by the community
- The
rust-sfmlcore team doesn't review it - Your contribution is welcome
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.
Discord
rust-sfml users are welcome on the Official SFML Discord server