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 whenevervk-mem
is added without
somewhere in the dependency tree.default-features = false - generate_bindings = bindgen
- linked
-
ash:
Link the Vulkan loader at compile time.
- loaded default
-
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