#sdl #windowing #graphics

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

#223 in Rendering

Download history 1/week @ 2024-02-01 5/week @ 2024-02-08 5/week @ 2024-02-15 21/week @ 2024-02-22 16/week @ 2024-02-29 73/week @ 2024-03-07 21/week @ 2024-03-14 8/week @ 2024-03-21 21/week @ 2024-03-28

123 downloads per month
Used in 2 crates (via sdl3)

MIT license

14MB
298K 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 Java 4K 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 M4 268 SLoC // 0.4% comments Automake 172 SLoC // 0.0% comments Metal Shading Language 100 SLoC Batch 66 SLoC HICAD 36 SLoC JavaScript 21 SLoC // 0.1% comments Prolog 15 SLoC Xcode Config 2 SLoC // 0.8% comments

Contains (JAR file, 55KB) gradle-wrapper.jar, (obscure autoconf code, 9KB) SDL/src/hidapi/configure.ac

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