39 releases

0.13.2 Feb 13, 2024
0.13.1 Sep 21, 2023
0.12.1 Jan 29, 2023
0.11.4 Oct 30, 2022
0.1.1 Jul 30, 2021

#53 in Rendering

23 downloads per month
Used in 4 crates

Apache-2.0

530KB
13K SLoC

rich-sdl2-rust

The sdl2 wrapper for Rust.

Concept

It won't be the binding, but the wrapper library for SDL2.


lib.rs:

rich-sdl2-rust

The rich-sdl2-rust provides wrapper for SDL2 and abstractions of that APIs, audio, window, EventBox and so on.

Supported SDL versions

This crate works with libraries:

  • SDL 2.26.2 or later,
  • SDL_ttf 2.20.1 or later (on ttf feature),
  • SDL_mixer 2.6.2 or later (on mixer feature),
  • SDL_image 2.6.2 or later (on image feature),
  • SDL_net 2.2.0 or later (on net feature).

Module Navigation

Crate features

  • vulkan: The Vulkan support API wrapper.
  • nightly: The features can be used on nightly.
    • simd_allocator: The wrapper of SIMD-friendly allocator.

Dependencies

~0.5–5.5MB
~119K SLoC