#sfml #game

sys csfml-window-sys

Bindings to csfml-window

6 releases (breaking)

Uses old Rust 2015

0.6.0 Mar 28, 2021
0.5.0 Oct 19, 2019
0.4.0 Sep 9, 2017
0.2.0 Mar 10, 2017
0.1.0 Feb 13, 2016

#63 in Multimedia

Download history 198/week @ 2025-03-28 135/week @ 2025-04-04 245/week @ 2025-04-11 193/week @ 2025-04-18 478/week @ 2025-04-25 326/week @ 2025-05-02 115/week @ 2025-05-09 106/week @ 2025-05-16 135/week @ 2025-05-23 21/week @ 2025-05-30 91/week @ 2025-06-06 61/week @ 2025-06-13 431/week @ 2025-06-20 190/week @ 2025-06-27 138/week @ 2025-07-04 330/week @ 2025-07-11

1,130 downloads per month
Used in 3 crates (via csfml-graphics-sys)

zlib-acknowledgement

60KB
2K SLoC

rust-sfml crates.io docs.rs Discord

Rust bindings for SFML, the Simple and Fast Multimedia Library.

Platform support

Platform Development and testing CI (basic tests)
🐧 Linux ✅ Most tested Status
🪟 Windows (MSVC) ⚠️ Rarely tested. Looking for testers/maintainers! Status
🐧 -> 🪟 (mingw-w64) ⚠️ Cross-compile from Linux to Windows. Somewhat tested.
🍎 Mac OS X ❌ Untested. Looking for testers/maintainers! Status

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

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-sfml core 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

Dependencies