Cargo Features

[dependencies]
vk-mem = { version = "0.4.0", default-features = false, features = ["generate_bindings", "linked", "loaded", "recording"] }
default = loaded

The loaded feature is set by default whenever vk-mem is added without default-features = false somewhere in the dependency tree.

generate_bindings = bindgen
linked

Enables linked of ash

ash:

Link the Vulkan loader at compile time.

loaded default

Enables loaded of ash

ash:

Support searching for the Vulkan loader manually at runtime.

recording

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.

bindgen build generate_bindings?

Enables bindgen ^0.69