Cargo Features

sdl3-image-sys has no features set by default.

[dependencies]
sdl3-image-sys = { version = "0.1.0", features = ["build-from-source", "build-from-source-static", "build-static-vendored", "link-static", "use-pkg-config", "use-vcpkg", "debug-impls", "no-default", "no-default-backends", "no-default-formats", "no-sdlimage-deps-shared", "sdlimage-vendored", "sdlimage-backend-imageio", "sdlimage-backend-wic", "no-sdlimage-backend-imageio", "no-sdlimage-backend-stb", "no-sdlimage-backend-wic", "sdlimage-avif", "sdlimage-gif", "sdlimage-jpg", "sdlimage-jxl", "sdlimage-pcx", "sdlimage-png", "sdlimage-svg", "sdlimage-tga", "sdlimage-tif", "sdlimage-webp", "sdlimage-xv", "no-sdlimage-bmp", "no-sdlimage-jpg", "no-sdlimage-lbm", "no-sdlimage-png", "no-sdlimage-qoi", "no-sdlimage-tga", "no-sdlimage-webp", "no-sdlimage-xpm", "no-sdlimage-xv", "sdlimage-avif-save", "sdlimage-jpg-save", "sdlimage-png-save", "no-sdlimage-avif-save", "no-sdlimage-jpg-save", "no-sdlimage-png-save", "sdlimage-avif-shared", "sdlimage-jpg-shared", "sdlimage-jxl-shared", "sdlimage-png-shared", "sdlimage-tif-shared", "sdlimage-webp-shared", "no-sdlimage-jpg-shared", "no-sdlimage-png-shared", "no-sdlimage-webp-shared"] }
build-from-source build build-from-source-static?

Build and link SDL3_image from source instead of linking a pre-existing library

Enables cmake, rpkg-config, and sdl3-image-src

build-from-source-static build-static-vendored? = build-from-source, link-static

Build and link a static SDL3_image library from source

build-static-vendored = build-from-source-static, sdlimage-vendored

Build and link a static SDL3_image library from source using vendored libraries

Link SDL3_image as a static library. The default is to link a shared/dynamic library.

use-pkg-config build

Use pkg-config to get link flags for SDL3_image. Only used when not building from source.
This has no effect if the link-framework feature is enabled.

Enables pkg-config

use-vcpkg build

Use vcpkg to get link flags for SDL3_image. Only used when not building from source.
The link-static feature has no effect when using vcpkg.
This has no effect if the link-framework feature is enabled.

Enables vcpkg

debug-impls

Implement the Debug trait for applicable types

no-default = no-default-backends, no-default-formats
no-default-backends no-default? = no-sdlimage-backend-imageio, no-sdlimage-backend-stb, no-sdlimage-backend-wic
no-default-formats no-default? = no-sdlimage-avif, no-sdlimage-avif-save, no-sdlimage-bmp, no-sdlimage-gif, no-sdlimage-jpg, no-sdlimage-jpg-save, no-sdlimage-jxl, no-sdlimage-lbm, no-sdlimage-pcx, no-sdlimage-png, no-sdlimage-png-save, no-sdlimage-pnm, no-sdlimage-qoi, no-sdlimage-svg, no-sdlimage-tga, no-sdlimage-tif, no-sdlimage-webp, no-sdlimage-xcf, no-sdlimage-xpm, no-sdlimage-xv
sdlimage-deps-shared no-sdlimage-deps-shared
sdlimage-vendored build-static-vendored?
no-sdlimage-vendored sdlimage-backend-imageio
sdlimage-backend-stb sdlimage-backend-wic
no-sdlimage-backend-imageio no-default-backends?
no-sdlimage-backend-stb no-default-backends?
no-sdlimage-backend-wic no-default-backends?
sdlimage-avif sdlimage-avif-save? sdlimage-avif-shared?
sdlimage-bmp sdlimage-gif
sdlimage-jpg sdlimage-jpg-save? sdlimage-jpg-shared?
sdlimage-jxl sdlimage-jxl-shared?
sdlimage-lbm sdlimage-pcx
sdlimage-png sdlimage-png-save? sdlimage-png-shared?
sdlimage-pnm sdlimage-qoi sdlimage-svg
sdlimage-tga
sdlimage-tif sdlimage-tif-shared?
sdlimage-webp sdlimage-webp-shared?
sdlimage-xcf sdlimage-xpm sdlimage-xv
no-sdlimage-avif no-sdlimage-bmp no-default-formats?
no-sdlimage-gif no-sdlimage-jpg no-default-formats?
no-sdlimage-jxl no-sdlimage-lbm no-default-formats?
no-sdlimage-pcx no-sdlimage-png no-default-formats?
no-sdlimage-pnm no-sdlimage-qoi no-default-formats?
no-sdlimage-svg no-sdlimage-tga no-default-formats?
no-sdlimage-tif no-sdlimage-webp no-default-formats?
no-sdlimage-xcf no-sdlimage-xpm no-default-formats?
no-sdlimage-xv no-default-formats?
sdlimage-avif-save = sdlimage-avif
sdlimage-jpg-save = sdlimage-jpg
sdlimage-png-save = sdlimage-png
no-sdlimage-avif-save no-default-formats?
no-sdlimage-jpg-save no-default-formats?
no-sdlimage-png-save no-default-formats?
sdlimage-avif-shared = sdlimage-avif
sdlimage-jpg-shared = sdlimage-jpg
sdlimage-jxl-shared = sdlimage-jxl
sdlimage-png-shared = sdlimage-png
sdlimage-tif-shared = sdlimage-tif
sdlimage-webp-shared = sdlimage-webp
no-sdlimage-avif-shared no-sdlimage-jpg-shared
no-sdlimage-jxl-shared no-sdlimage-png-shared
no-sdlimage-tif-shared no-sdlimage-webp-shared