#rust-gpu #validation

sys spirv-tools-sys

Wrapper crate for SPIRV-Tools

17 releases (10 breaking)

Uses new Rust 2024

0.13.3 Apr 10, 2026
0.13.2 Feb 16, 2026
0.13.0 Oct 7, 2025
0.12.1 Jul 17, 2025
0.1.1 Nov 18, 2020

#129 in Data formats

Download history 2895/week @ 2026-01-24 2636/week @ 2026-01-31 3338/week @ 2026-02-07 2346/week @ 2026-02-14 3096/week @ 2026-02-21 3392/week @ 2026-02-28 4398/week @ 2026-03-07 3334/week @ 2026-03-14 4990/week @ 2026-03-21 4786/week @ 2026-03-28 3696/week @ 2026-04-04 6210/week @ 2026-04-11 4640/week @ 2026-04-18 3455/week @ 2026-04-25 2948/week @ 2026-05-02 2804/week @ 2026-05-09

14,809 downloads per month
Used in 7 crates (via spirv-tools)

Apache-2.0

5MB
104K SLoC

C++ 76K SLoC // 0.1% comments Bitbake 10K SLoC C# 5K SLoC // 0.0% comments Lua 5K SLoC // 0.0% comments Python 5K SLoC // 0.0% comments D 2.5K SLoC // 0.0% comments Rust 603 SLoC // 0.1% comments

🛠 spirv-tools-sys

Crates.io Docs Build status

This crate is an unofficial wrapper for SPIR-V Tools, its primary use case is for the rust-gpu project.

Status

This is a very rough wrapper around the assembler, validator, and (most of the) optimizer tools available from SPIR-V Tools, which is enough for the current needs of the rust-gpu project. See that project's code for more thorough usage examples.

Contributing

Contributor Covenant

We welcome community contributions to this project.

License

Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies