#sdl #windowing #graphics #ffi

sys sdl3-sys

Rust bindings to version 3 of the SDL library

6 releases

0.0.7+sdl3-dev-2023-10-08 Oct 9, 2023
0.0.6+sdl3-dev-2023-07-31 Aug 25, 2023
0.0.5+sdl3-dev-2023-06-04 Jun 5, 2023
0.0.2+sdl3-dev-2023-04-16 May 7, 2023
0.0.1+sdl3-dev-2023-01-23 Jan 23, 2023

#334 in Rendering

Download history 33/week @ 2023-08-10 37/week @ 2023-08-17 79/week @ 2023-08-24 45/week @ 2023-08-31 23/week @ 2023-09-07 39/week @ 2023-09-14 19/week @ 2023-09-21 11/week @ 2023-09-28 87/week @ 2023-10-05 23/week @ 2023-10-12 21/week @ 2023-10-19 26/week @ 2023-10-26 21/week @ 2023-11-02 23/week @ 2023-11-09 20/week @ 2023-11-16 27/week @ 2023-11-23

100 downloads per month
Used in sdl3

MIT license

14MB
294K SLoC

C 224K SLoC // 0.1% comments Rust 31K SLoC // 0.0% comments Objective-C 14K SLoC // 0.1% comments Visual Studio Project 10K SLoC C++ 8K SLoC // 0.2% comments Perl 2.5K SLoC // 0.1% comments Python 1K SLoC // 0.1% comments Shell 840 SLoC // 0.1% comments GNU Style Assembly 661 SLoC // 0.2% comments Visual Studio Solution 531 SLoC Automake 172 SLoC // 0.0% comments Prolog 67 SLoC Batch 66 SLoC Java 52 SLoC // 0.3% comments JavaScript 21 SLoC // 0.1% comments Xcode Config 2 SLoC // 0.8% comments

Contains (JAR file, 55KB) gradle-wrapper.jar

This crate was mainly generated by bindgen. It should be enough in most cases, but if you ever find discrepancies between what bindgen generated and your OS, you can always generate your own sdl2-sys.

Dependencies