vulkane 0.1.0

Vulkan API bindings generated entirely from vk.xml, with a complete safe RAII wrapper covering compute and graphics: instance/device/queue, buffer, image, sampler, render pass, framebuffer, graphics + compute pipelines, swapchain, a VMA-style sub-allocator with TLSF + linear pools and defragmentation, sync primitives (fences, binary + timeline semaphores, sync2 barriers), query pools, and an optional naga GLSL/WGSL→SPIR-V feature. Supports Vulkan 1.2.175 onward — swap vk.xml and rebuild.
//! Unit tests for the vulkane crate's own modules (version, loader)

#[test]
fn test_version_module() {
    use crate::version::*;

    assert!(!BINDINGS_VERSION.is_empty());
    assert!(!BUILD_TIMESTAMP.is_empty());
}

#[test]
fn test_version_struct_roundtrip() {
    use crate::raw::version::Version;

    let v = Version::new(1, 3, 42);
    let raw = v.to_raw();
    let decoded = Version::from_raw(raw);
    assert_eq!(decoded.major, 1);
    assert_eq!(decoded.minor, 3);
    assert_eq!(decoded.patch, 42);
}

#[test]
fn test_bindings_reexport() {
    // The crate root re-exports raw::bindings::* so these should be accessible
    let _ = crate::VK_API_VERSION_1_0;
}