Crate sf2g

Source
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

PlatformDevelopment and testingCI (basic tests)
🐧 Linux✅ Most testedStatus
🪟 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

§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