Repository navigation
vk 0.11.0+1.4.365 — development release
Pre-releasevk 0.11.0 — new() record constructors
Development release, 2026-11-05. Cargo package vkrust 0.11.0+1.4.365,
Rust library/import name vk, Git tag v0.11.0, MIT licensed.
The +1.4.365 suffix identifies the unchanged pinned Vulkan header snapshot;
it is not a Vulkan 1.4 driver requirement.
Developer guide ·
Rust API reference ·
Realm
API and migration
This is a source-compatible minor API release: every generated Vulkan record
and every public vk::mem configuration or snapshot record with Default
gains Type::new(), delegating to its existing Default implementation:
let application = vk::ApplicationInfo::new()
.set_application_name(c"vk example")
.set_api_version(vk::API_VERSION_1_0);
let info = vk::InstanceCreateInfo::new()
.set_application_info(&application);Default remains the single initialization source and trait entry point:
canonical sType tags, null pNext and zeroed fields are identical under
either spelling, and ..Default::default() struct-update syntax is unchanged.
Type::default() stays valid; new() is the crate's construction vocabulary
alongside Type::new(...), new_from_* and new_with_* for owned objects.
The public vk::mem records DebugMemorySettings, DeviceMemoryCallbacks,
AllocationCreateInfo, AllocatorStats, HeapBudget, BudgetSnapshot,
TrimStats, PoolCreateInfo, PoolStats, DefragmentationInfo,
DefragmentationStats, DetailedStatistics and MemoryStatistics carry the
same contract.
Unchanged:
- existing constructors such as
Allocator::new*,MemoryPriority::new,
VirtualBlock::new*,DefragmentationContext::newand
AllocationChain::new_from_record*; #[default]enums and records without aDefaultimplementation;Defaulttrait implementations, whichnew()delegates to rather than
replaces;- signatures, fields, lifetimes, dispatch and the native ABI.
Evidence and limits
The release checkpoint passed the workspace test and doctest suite — including
generated per-record contract tests proving new() signatures and canonical
sType/pNext initial state, and the vk::mem
record_constructors_delegate_to_default proof — plus strict Clippy, rustfmt
and the generator's --check idempotence gate on the private tree. Release CI
reruns the configured tests, package/consumer checks and pinned-header oracles
on this release's exact public snapshot.
No new sanitizer, VMA donor or native-hardware qualification was run for this
delta; new() adds an alias over recorded initialization paths. The allocator
remains Experimental; all existing qualification limits continue to apply —
see the qualification report. No production readiness
claim follows from this release.