[package]
edition = "2018"
name = "sdl2-sys"
version = "0.32.6"
authors = ["Tony Aldridge <tony@angry-lawyer.com>"]
build = "build.rs"
links = "SDL2"
description = "Raw SDL2 bindings for Rust, used internally rust-sdl2"
keywords = ["SDL", "windowing", "graphics", "ffi"]
categories = ["rendering", "external-ffi-bindings", "game-engines", "multimedia"]
license = "MIT"
repository = "https://github.com/rust-sdl2/rust-sdl2"
[lib]
name = "sdl2_sys"
path = "src/lib.rs"
[dependencies.libc]
version = "^0.2"
[build-dependencies.bindgen]
version = "^0.42"
optional = true
[build-dependencies.cfg-if]
version = "^0.1"
[build-dependencies.cmake]
version = "^0.1"
optional = true
[build-dependencies.flate2]
version = "^1"
optional = true
[build-dependencies.pkg-config]
version = "^0.3"
optional = true
[build-dependencies.tar]
version = "^0.4"
optional = true
[build-dependencies.unidiff]
version = "^0.3"
optional = true
[features]
bundled = ["cmake", "tar", "flate2", "unidiff"]
default = []
gfx = []
image = []
mixer = []
static-link = []
ttf = []
use-bindgen = ["bindgen"]
use-pkgconfig = ["pkg-config"]
use_mac_framework = []