# 🛠spirv-tools
[](https://embark.dev)
[](https://discord.gg/dAuKfZS)
[](https://crates.io/crates/spirv-tools)
[](https://docs.rs/spirv-tools)
[](https://deps.rs/repo/github/EmbarkStudios/spirv-tools)
[](https://github.com/EmbarkStudios/spirv-tools-rs/actions)
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
[](../main/CODE_OF_CONDUCT.md)
We welcome community contributions to this project.
Please read our [Contributor Guide](CONTRIBUTING.md) for more information on how to get started.
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
### 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 dual licensed as above, without any additional terms or conditions.
[SPIR-V Tools]: https://github.com/KhronosGroup/SPIRV-Tools
[rust-gpu]: https://github.com/EmbarkStudios/rust-gpu