37 releases

0.12.1 Jan 29, 2023
0.11.4 Oct 30, 2022
0.11.3 Jul 31, 2022
0.10.1 Nov 13, 2021
0.1.1 Jul 30, 2021

#58 in Rendering

Download history 12/week @ 2022-12-06 9/week @ 2022-12-13 46/week @ 2022-12-20 20/week @ 2022-12-27 4/week @ 2023-01-03 12/week @ 2023-01-10 8/week @ 2023-01-17 65/week @ 2023-01-24 28/week @ 2023-01-31 46/week @ 2023-02-07 200/week @ 2023-02-14 73/week @ 2023-02-21 7/week @ 2023-02-28 11/week @ 2023-03-07 6/week @ 2023-03-14 7/week @ 2023-03-21

62 downloads per month
Used in 4 crates

Apache-2.0

525KB
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.8–5MB
~121K SLoC