38 releases

0.13.1 Sep 21, 2023
0.12.1 Jan 29, 2023
0.11.4 Oct 30, 2022
0.11.3 Jul 31, 2022
0.1.1 Jul 30, 2021

#188 in GUI

Download history 43/week @ 2023-08-12 14/week @ 2023-08-19 48/week @ 2023-08-26 8/week @ 2023-09-02 87/week @ 2023-09-09 28/week @ 2023-09-16 14/week @ 2023-09-23 18/week @ 2023-09-30 7/week @ 2023-10-07 13/week @ 2023-10-14 11/week @ 2023-10-21 74/week @ 2023-10-28 21/week @ 2023-11-04 14/week @ 2023-11-11 16/week @ 2023-11-18 51/week @ 2023-11-25

106 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
~120K SLoC