Cargo Features

[dependencies]
glfw-passthrough = { version = "0.60.2", default-features = false, features = ["all", "with-window-handle-v0-5", "vulkan", "wayland", "x11", "native-handles", "src-build", "prebuilt-libs", "static-link", "raw-window-handle-v0-6", "raw-window-handle-v0-5", "serde"] }
default = all, prebuilt-libs

These default features are set whenever glfw-passthrough is added without default-features = false somewhere in the dependency tree.

all default = image, log, raw-window-handle-v0-6, vulkan, wayland, x11
with-window-handle-v0-5 = raw-window-handle-v0-5
vulkan all

Enables vulkan of glfw-sys-passthrough

Affects glfw-passthrough::VkProc

wayland all

Enables wayland of glfw-sys-passthrough

x11 all

Enables x11 of glfw-sys-passthrough

native-handles raw-window-handle-v0-5? raw-window-handle-v0-6?

Enables native-handles of glfw-sys-passthrough

src-build

Enables src-build of glfw-sys-passthrough

glfw-sys-passthrough:

build from source, instead of using prebuilt libraries.

prebuilt-libs default

Enables prebuilt-libs of glfw-sys-passthrough

Enables static-link of glfw-sys-passthrough

glfw-sys-passthrough:

static link (if on linux, src-build must also be enabled)

raw-window-handle-v0-6 all = native-handles

Enables raw-window-handle

raw-window-handle-v0-5 with-window-handle-v0-5? = native-handles

Enables raw-window-handle ^0.5.0

serde

Enables serde

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.

log all

Affects glfw-passthrough::log_errors

image all