• Stars
    star
    635
  • Rank 70,829 (Top 2 %)
  • Language
    Rust
  • License
    Other
  • Created over 11 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SFML bindings for Rust

rust-sfml Build Status crates.io Discord

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

Requirements

  • Linux, Windows, or OS X
  • Rust 1.66 or later
  • SFML 2.5
  • A C++ compiler for building CSFML

Environment variables

If you get errors about SFML headers not being found, or linker errors, that probably means SFML is not installed in a global location. In that case, you can set two environment variables to help rust-sfml find the required files:

  • SFML_INCLUDE_DIR. Set this to the include folder of your SFML location.
  • SFML_LIBS_DIR. Set this to the lib folder of your SFML location.

To help debugging environment variables, you can try building with cargo build -vv. If the environment variables are set correctly, you should get warnings like this:

warning: Custom SFML include dir: C:\Users\You\sfml\include
warning: Adding custom SFML libs search path C:\Users\You\sfml\lib

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

More Repositories

1

rgtk

GTK+ bindings and wrappers for Rust (DEPRECATED SEE https://github.com/rust-gnome )
Rust
121
star
2

ears

Easy Api in Rust to play Sounds (this repository is not maintained anymore, please see https://github.com/jhasse/ears)
Rust
60
star
3

svg

Simple library to create svg with Rust
Rust
33
star
4

rustenstein3D

Wolfenstein3D engine like in rust
Rust
26
star
5

colorize

Simple ansi color library
Rust
15
star
6

reflect

C++ reflection framework (for fun)
C++
14
star
7

safe_event

C++ 11/14 type safe light event system
C++
13
star
8

arrakis

rest api generation from postgres schema
Rust
10
star
9

rust-sndfile

Libsndfile bindings and wrappers for Rust
Rust
8
star
10

csml

Like C++ STL but with macros and C
C
5
star
11

amish

Am I Still Hype ?
Go
5
star
12

kiwi

Generate statically typed list for C
C
4
star
13

tunnel

simple channel communication in c++
C++
4
star
14

rust-haml

Haml templating library for Rust
Rust
4
star
15

vega-rust-sdk

A Rust native SDK to use the vega protocol APIs
Rust
3
star
16

rutile

A rusted microservices framework
Rust
3
star
17

mpsc_queue

cpp mpsc_queue
C++
3
star
18

trueskill-rs

True skill implementation in Rust lang
Rust
3
star
19

sad

Non intrusive, header only serialization framework
C++
3
star
20

vegamm

Go
2
star
21

msgpack-zig

A messagepack serialization library for Zig
Zig
2
star
22

bind_op

Kind of monadic bind operator for C++
C++
2
star
23

babakoto_api

Go
1
star
24

tmule

the most useless list ever
C++
1
star
25

rustedcraft

Rust
1
star
26

verdigris

OpenGL windowing for Rust
Rust
1
star
27

web_dispatcher

Experiment with syntax extensions and web routes dispatch
Rust
1
star
28

route_macros

Rust syntax extension to handle routing attribute
Rust
1
star
29

objcruntime

Rust binding to the objective-C runtime
Rust
1
star
30

version_macro

Rust syntax extension to generate version for your projects
Rust
1
star
31

preview

image preview in your terminal
C++
1
star
32

latte

Rust
1
star
33

balrog

An alternative Vega wallet (https://vega.xyz)
Rust
1
star
34

vega-wallet-rust-sdk

A simple wrapper over the vega wallet API
Rust
1
star
35

cs4414-ps1

Rust
1
star
36

vegamm_rust

A simple market maker bot for the Vega protocol in Rust
Rust
1
star
37

clack

command line slack client
Rust
1
star
38

rgraph

Graph library in Rust
Rust
1
star
39

cs4414-ps2

Rust
1
star
40

whl-puller

Simple tool to get and persist in database the world heritage list from unesco
Rust
1
star
41

strtokenizer.rs

String tokenizer in rust
Rust
1
star
42

decay

Rusted microservices framework
Rust
1
star
43

check_validator_setup

Go
1
star
44

.emacs.d

Emacs Lisp
1
star
45

foundation

Foundation bindings for Rust
Rust
1
star
46

huffman

huffman algorithm implementation
OCaml
1
star