Disclaimer: this changelog is updated using generative AI, but is still verified manually.
KhalBuilder::from_dependency(inkhal-builder): locates the shader crate via cargo'slinksmetadata mechanism instead of a hard-coded relative path. This lets a published host crate rebuild its shaders on the consumer's machine using a registry-fetched copy of the shader crate, without needing to bundle the shader sources in the host's published artifact.
- The
khal-exampletutorial crate now usesKhalBuilder::from_dependencyinstead of a hard-coded"../khal-example-shaders"path, andkhal-example-shadersdeclareslinks = "khal-example-shaders"plus a smallbuild.rsthat re-exports itsCARGO_MANIFEST_DIRto dependents. This is the recommended pattern for downstream crates that publish to crates.io.
This shows the changes between the time of open-sourcing the crate and its first release to crates.io:
println!support for shaders running on the CPU backend (khal-std).
- Switch
spirv-stdandspirv-std-macrosto the published0.10.0-alpha.1release (previously pinned to a git revision). - Cache coroutines on the CPU backend for improved performance.
- Enable incremental builds in the workspace to work around a
rust-gpuissue where the example shader entrypoint was being dropped.