[[example]]
name = "animation"
[[example]]
name = "audio-capture-and-replay"
[[example]]
name = "audio-queue-squarewave"
[[example]]
name = "audio-squarewave"
[[example]]
name = "audio-wav"
[[example]]
name = "audio-whitenoise"
[[example]]
name = "cursor"
required-features = ["image"]
[[example]]
name = "demo"
[[example]]
name = "game-controller"
[[example]]
name = "game-of-life-unsafe-textures"
required-features = ["unsafe_textures"]
[[example]]
name = "game-of-life"
[[example]]
name = "gfx-demo"
required-features = ["gfx"]
[[example]]
name = "haptic"
[[example]]
name = "image-demo"
required-features = ["image"]
[[example]]
name = "joystick"
[[example]]
name = "keyboard-state"
[[example]]
name = "message-box"
[[example]]
name = "mixer-demo"
required-features = ["mixer"]
[[example]]
name = "mouse-state"
[[example]]
name = "no-renderer"
[[example]]
name = "relative-mouse-state"
[[example]]
name = "renderer-target"
[[example]]
name = "events"
[[example]]
name = "renderer-texture"
[[example]]
name = "renderer-yuv"
[[example]]
name = "resource-manager"
required-features = ["ttf", "image"]
[[example]]
name = "ttf-demo"
required-features = ["ttf"]
[[example]]
name = "window-properties"
[dependencies.bitflags]
version = "^1"
[dependencies.c_vec]
optional = true
version = ">= 1.0, <= 1.3"
[dependencies.lazy_static]
version = "^1"
[dependencies.libc]
version = "^0.2"
[dependencies.sdl2-sys]
version = "^0.33"
[dev-dependencies.rand]
version = "^0.7"
[features]
bundled = ["sdl2-sys/bundled"]
default = []
gfx = ["c_vec", "sdl2-sys/gfx"]
image = ["sdl2-sys/image"]
mixer = ["sdl2-sys/mixer"]
static-link = ["sdl2-sys/static-link"]
ttf = ["sdl2-sys/ttf"]
unsafe_textures = []
use-bindgen = ["sdl2-sys/use-bindgen"]
use-pkgconfig = ["sdl2-sys/use-pkgconfig"]
use_mac_framework = ["sdl2-sys/use_mac_framework"]
[lib]
name = "sdl2"
path = "src/sdl2/lib.rs"
[package]
authors = ["Tony Aldridge <tony@angry-lawyer.com>", "Cobrand <cobrandw@gmail.com>"]
categories = ["rendering", "api-bindings", "game-engines", "multimedia"]
description = "SDL2 bindings for Rust"
documentation = "https://rust-sdl2.github.io/rust-sdl2/sdl2/"
keywords = ["SDL", "windowing", "graphics", "api", "engine"]
license = "MIT"
name = "sdl2"
repository = "https://github.com/Rust-SDL2/rust-sdl2"
version = "0.33.0"