Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

1
vendor/spirv/.cargo-checksum.json vendored Normal file
View File

@@ -0,0 +1 @@
{"files":{"Cargo.toml":"29fbbbc568f51d6ab5154843bdd673427f083c459db8c6d366ec8f2078c39431","README.md":"d0a33acc70ea5212e5fc6b5d5c88db60b38753b2591f67ebf06644aa13d6e631","autogen_spirv.rs":"236bd685f9eb20b9a82a6c0fef1553a6365b24a7848ae2b681df3c1528edc080","lib.rs":"334f71db6c449cbea3c6f7485abf9c8b91be968e532758ead3a7a834f1284440","release.toml":"a9c4eb6eaa1b3b8eb7ff742ec4963be32ec1ec7664c8a52218cc74898bad3ec4"},"package":"eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844"}

48
vendor/spirv/Cargo.toml vendored Normal file
View File

@@ -0,0 +1,48 @@
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
name = "spirv"
version = "0.3.0+sdk-1.3.268.0"
authors = ["Lei Zhang <antiagainst@gmail.com>"]
description = "Rust definition of SPIR-V structs and enums"
documentation = "https://docs.rs/spirv"
readme = "README.md"
keywords = [
"spirv",
"definition",
"struct",
"enum",
]
license = "Apache-2.0"
repository = "https://github.com/gfx-rs/rspirv"
[lib]
path = "lib.rs"
[dependencies.bitflags]
version = "2.0"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[features]
deserialize = [
"serde",
"bitflags/serde",
]
serialize = [
"serde",
"bitflags/serde",
]

44
vendor/spirv/README.md vendored Normal file
View File

@@ -0,0 +1,44 @@
spirv-headers of the rspirv project
===================================
[![Crate][img-crate-headers]][crate-headers]
[![Documentation][img-doc-headers]][doc-headers]
The headers crate for the rspirv project which provides Rust definitions of
SPIR-V structs, enums, and constants.
Usage
-----
This project uses associated constants, which became available in the stable channel
since [1.20][rust-1.20]. So to compile with a compiler from the stable channel,
please make sure that the version is >= 1.20.
First add to your `Cargo.toml`:
```toml
[dependencies]
spirv = "0.3.0"
```
Version
-------
Note that the major and minor version of this create is tracking the SPIR-V spec,
while the patch number is used for bugfixes for the crate itself. So version
`1.4.2` is tracking SPIR-V 1.4 but not necessarily revision 2. Major client APIs
like Vulkan/OpenCL pin to a specific major and minor version, regardless of the
revision.
Examples
--------
Please see the [documentation][doc-headers] and project's
[README][project-readme] for examples.
[img-crate-headers]: https://img.shields.io/crates/v/spirv.svg
[img-doc-headers]: https://docs.rs/spirv/badge.svg
[crate-headers]: https://crates.io/crates/spirv
[doc-headers]: https://docs.rs/spirv
[project-readme]: https://github.com/gfx-rs/rspirv/blob/master/README.md
[rust-1.20]: https://blog.rust-lang.org/2017/08/31/Rust-1.20.html

4081
vendor/spirv/autogen_spirv.rs vendored Normal file

File diff suppressed because it is too large Load Diff

14
vendor/spirv/lib.rs vendored Normal file
View File

@@ -0,0 +1,14 @@
//! The SPIR-V header.
//!
//! This crate contains Rust definitions of all SPIR-V structs, enums,
//! and constants.
//!
//! The version of this crate is the version of SPIR-V it contains.
#![no_std]
#![allow(non_camel_case_types)]
#![cfg_attr(rustfmt, rustfmt_skip)]
use bitflags::bitflags;
include!("autogen_spirv.rs");

11
vendor/spirv/release.toml vendored Normal file
View File

@@ -0,0 +1,11 @@
pre-release-commit-message = "Release {{crate_name}} {{version}}"
tag-message = "Release {{crate_name}} {{version}}"
tag-name = "{{crate_name}}-{{version}}"
sign-commit = true
sign-tag = true
publish = false
pre-release-replacements = [
{file="README.md", search="spirv = .*", replace="{{crate_name}} = \"{{version}}\""},
{file="../rspirv/Cargo.toml", search="spirv = \\{ version = \".*\", path = \"../spirv\" \\}", replace="{{crate_name}} = { version = \"{{version}}\", path = \"../spirv\" }" },
]