#sfml #multimedia #game

sys csfml-graphics-sys

Bindings to csfml-graphics

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.3.0 Mar 11, 2017
0.1.0 Feb 13, 2016

#330 in Graphics APIs

Download history 205/week @ 2024-07-20 225/week @ 2024-07-27 189/week @ 2024-08-03 370/week @ 2024-08-10 215/week @ 2024-08-17 231/week @ 2024-08-24 291/week @ 2024-08-31 263/week @ 2024-09-07 227/week @ 2024-09-14 282/week @ 2024-09-21 226/week @ 2024-09-28 67/week @ 2024-10-05 183/week @ 2024-10-12 179/week @ 2024-10-19 202/week @ 2024-10-26 330/week @ 2024-11-02

894 downloads per month

zlib-acknowledgement

140KB
5K SLoC

rust-sfml Build Status crates.io Discord

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.82 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