#1095972 RFP: rust-ash -- Vulkan bindings for Rust

#1095972#5
Date:
2025-02-14 13:36:21 UTC
From:
To:
* Package name    : rust-ash
  Version         : 0.38.0
  Upstream Contact: https://github.com/ash-rs/ash
* URL             : https://github.com/ash-rs/ash
* License         : MIT OR Apache-2.0
  Programming Lang: Rust
  Description     : Vulkan bindings for Rust

A thin Vulkan wrapper for Rust.

This Rust crate is a dependency for Waypipe's rewritten Rust version [1]. It has
several workspace members, but I believe only the "ash" member from the
workspace is needed (if something depends on a crate named "foo", which is a
workspace member in a crate called "foo", then it's the workspace-member foo
that is the actual dependency, right?). That workspace member builds fine on
Debian sid.

However: ash is a *generated* crate. The checked-in sources are generated from
Vulkan headers, and then published as the ash crate (yuck!). That seems counter
to Debian policy. The generator [2], in turn, has dependencies not yet in
Debian. I am therefore hoping to solicit help and/or advice from the Rust team
on packaging ash.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095971

[2] https://github.com/ash-rs/ash/tree/master/generator

Thanks for any help and/or insight.

#1095972#12
Date:
2025-02-17 13:40:20 UTC
From:
To:
Matthias Geiger <werdahias@riseup.net> writes:

Hi,

Thanks for sharing your perspectives.

The generator doesn't seem _too_ bad – it's missing "only" the crates
"vkxml" and "vk-parse". And they themselves seem to have everything
needed already in Debian. But I find it highly unlikely that I'll manage
to get vkxml, vk-parse, the ash generator and ash itself packaged in
time for Trixie.

Oh well, I guess I'll focus on the next release :-)