| Crates.io | vulkan-registry |
| lib.rs | vulkan-registry |
| version | 0.2.3+vulkan-1.4.341 |
| created_at | 2025-12-18 02:37:02.440054+00 |
| updated_at | 2026-01-25 21:06:10.040687+00 |
| description | Parses the Vulkan API Registry XML files |
| homepage | |
| repository | https://github.com/jbatez/vulkan-headers-rs |
| max_upload_size | |
| id | 1991612 |
| size | 3,434,080 |
This library parses the Vulkan API Registry XML files into Rust data structures.
List all Vulkan platform names:
fn main() {
use vulkan_registry::*;
let registry = Registry::vk(); // vk.xml
for content in ®istry.contents {
if let RegistryContent::Platforms(platforms) = content {
for content in &platforms.contents {
let PlatformsContent::Platform(platform) = content;
println!("{:?}", platform.name);
}
}
}
}