2 unstable releases

Uses old Rust 2015

0.2.0 Mar 10, 2017
0.1.0 Feb 13, 2016

#8 in #looking

Download history 14/week @ 2024-07-22 26/week @ 2024-07-29 11/week @ 2024-08-05 24/week @ 2024-08-12 13/week @ 2024-08-19 8/week @ 2024-08-26 14/week @ 2024-09-02 16/week @ 2024-09-09 18/week @ 2024-09-16 27/week @ 2024-09-23 18/week @ 2024-09-30 13/week @ 2024-10-07 39/week @ 2024-10-14 14/week @ 2024-10-21 16/week @ 2024-10-28 32/week @ 2024-11-04

103 downloads per month

zlib-acknowledgement

26KB
752 lines

rust-sfml 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 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.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