Installation
Add vulkan_rust to your project
[dependencies]
vulkan-rust = "0.10"
Platform requirements
Windows
Install the LunarG Vulkan SDK. This
provides vulkan-1.dll and the validation layers.
Linux
Install your distribution’s Vulkan packages:
# Ubuntu / Debian
sudo apt install libvulkan-dev vulkan-validationlayers
# Fedora
sudo dnf install vulkan-loader-devel vulkan-validation-layers
# Arch
sudo pacman -S vulkan-icd-loader vulkan-validation-layers
macOS
Install the LunarG Vulkan SDK for macOS, which includes MoltenVK for Vulkan-on-Metal translation.
Verify your setup
After installing, run this to confirm Vulkan is available:
# If you installed the Vulkan SDK:
vulkaninfo --summary
You should see your GPU listed with a supported Vulkan version.
Next steps
Ready to write code? Continue to Hello Triangle, Part 1.