Cargo Features

[dependencies]
vma = { version = "0.3.1", default-features = false, features = ["generate_bindings", "linked", "loaded", "recording"] }
default = loaded

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

generate_bindings = bindgen
linked

Enables linked of ash ^0.37

ash:

Link the Vulkan loader at compile time.

loaded default

Enables loaded of ash ^0.37

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.59