Cargo Features

[dependencies]
glfw-passthrough = { version = "0.55.0", default-features = false, features = ["all", "vulkan", "wayland", "raw-window-handle-v0-6"] }
default = glfw-sys-passthrough, raw-window-handle-v0-6

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

all = image, log, raw-window-handle-v0-6, vulkan, wayland
vulkan all? = ash

Affects ffi::GLFWvkproc, ffi::glfwVulkanSupported, ffi::glfwGetRequiredInstanceExtensions, ffi::glfwGetInstanceProcAddress, ffi::glfwGetPhysicalDevicePresentationSupport, ffi::glfwCreateWindowSurface, glfw-passthrough::VkProc

wayland all?

Enables wayland of glfw-sys-passthrough

Affects ffi::glfwGetWaylandWindow, ffi::glfwGetWaylandDisplay

raw-window-handle-v0-6 default all?

Enables raw-window-handle

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

ash vulkan?

Enables ash ^0.37.2

image all?

Enables image ^0.24.1

glfw-sys-passthrough default wayland?