Cargo Features
sdl3-ttf-sys has no features set by default.
[dependencies]
sdl3-ttf-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", "sdlttf-vendored", "sdlttf-harfbuzz", "no-sdlttf-harfbuzz", "no-sdlttf-plutosvg"] }
- build-from-source build build-from-source-static?
-
Build and link SDL3_ttf from source instead of linking a pre-existing library
Enables cmake, rpkg-config, and sdl3-ttf-src
- build-from-source-static build-static-vendored? = build-from-source, link-static
-
Build and link a static SDL3_ttf library from source
- build-static-vendored = build-from-source-static, sdlttf-vendored
-
Build and link a static SDL3_ttf library from source using vendored libraries
- link-static build-from-source-static?
-
Link SDL3_ttf 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_ttf. 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_ttf. 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
Enables debug-impls of sdl3-sys
- sdlttf-vendored build-static-vendored?
- no-sdlttf-vendored sdlttf-harfbuzz
- sdlttf-plutosvg no-sdlttf-harfbuzz
- no-sdlttf-plutosvg