Lokathor / fermium

An easy to build and use set of SDL2 bindings.
https://docs.rs/fermium
60 stars 14 forks source link
rust sdl2 zlib-license

Docs.rs

fermium

Rust bindings to the SDL2 library.

This crate covers most of SDL2's 2.0.16 API. It can be used compatibly with any newer version of SDL2. It can also even be used with older versions of SDL2, though if you call any functions not present you'll get a link error, and if you call an older version with arguments it doesn't expect it'll generally give you a runtime error.

By default, the crate links to the system version of SDL2 (or bundled pre-built dev files on Windows MSVC). Alternately, you can have the crate build SDL2 from source and statically link to that.

Versioning

The major version of this crate is basically the bundled version of SDL2 with all the dots taken out. Each new release of the crate that bundles new SDL2 source is a major version bump. There are generally no actual breaks in the crate code itself (though sometimes small updates happen). There are usually updates and fixes in how the build script runs, or raising the MSRV of the crate.

FAQ

Project Logo

birth-of-fermium