Cargo Features

sdl3-sys has no features set by default.

[dependencies]
sdl3-sys = { version = "0.0.7+sdl3-dev-2023-10-08", features = ["use-pkgconfig", "use-vcpkg", "use-bindgen", "use_mac_framework", "bundled", "mixer", "image", "ttf", "gfx", "flate2"] }
use-pkgconfig = pkg-config
use-vcpkg = vcpkg
use-bindgen = bindgen
static-link use_mac_framework
bundled = cmake
mixer

Affects sdl3-sys::mixer

image

Affects sdl3-sys::image

ttf

Affects sdl3-sys::ttf

gfx

Affects sdl3-sys::gfx

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

flate2 build implicit feature
bindgen build use-bindgen?

Enables bindgen ^0.68.1

cmake build bundled?
pkg-config build use-pkgconfig?
vcpkg build use-vcpkg?