Debian Codegraph @

third_party/rust/naga/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.82.0"
15 name = "naga"
16 version = "25.0.0"
17 authors = ["gfx-rs developers"]
18 build = "build.rs"
19 exclude = [
20 "bin/**/*",
21 "tests/**/*",
22 "Cargo.lock",
23 "target/**/*",
24 ]
25 autolib = false
26 autobins = false
27 autoexamples = false
28 autotests = false
29 autobenches = false
30 description = "Shader translator and validator. Part of the wgpu project"
31 readme = "README.md"
32 keywords = [
33 "shader",
34 "SPIR-V",
35 "GLSL",
36 "MSL",
37 ]
38 license = "MIT OR Apache-2.0"
39 repository = "https://github.com/gfx-rs/wgpu"
40
41 [package.metadata.docs.rs]
42 all-features = true
43
44 [features]
45 arbitrary = [
46 "dep:arbitrary",
47 "bitflags/arbitrary",
48 "indexmap/arbitrary",
49 "half/arbitrary",
50 "half/std",
51 ]
52 compact = []
53 default = []
54 deserialize = [
55 "dep:serde",
56 "bitflags/serde",
57 "half/serde",
58 "hashbrown/serde",
59 "indexmap/serde",
60 ]
61 dot-out = []
62 glsl-in = ["dep:pp-rs"]
63 glsl-out = []
64 hlsl-out = []
65 hlsl-out-if-target-windows = []
66 msl-out = []
67 msl-out-if-target-apple = []
68 serialize = [
69 "dep:serde",
70 "bitflags/serde",
71 "half/serde",
72 "hashbrown/serde",
73 "indexmap/serde",
74 ]
75 spv-in = [
76 "dep:petgraph",
77 "petgraph/graphmap",
78 "dep:spirv",
79 ]
80 spv-out = ["dep:spirv"]
81 stderr = ["codespan-reporting/std"]
82 termcolor = ["codespan-reporting/termcolor"]
83 wgsl-in = [
84 "dep:hexf-parse",
85 "dep:strum",
86 "dep:unicode-ident",
87 "compact",
88 ]
89 wgsl-out = []
90
91 [lib]
92 name = "naga"
93 path = "src/lib.rs"
94
95 [dependencies.arbitrary]
96 version = "1.4"
97 features = ["derive"]
98 optional = true
99
100 [dependencies.arrayvec]
101 version = "0.7.1"
102 default-features = false
103
104 [dependencies.bit-set]
105 version = "0.8"
106 default-features = false
107
108 [dependencies.bitflags]
109 version = "2.9"
110
111 [dependencies.cfg-if]
112 version = "1"
113
114 [dependencies.codespan-reporting]
115 version = "0.12"
116 default-features = false
117
118 [dependencies.half]
119 version = "2.5"
120 features = ["num-traits"]
121 default-features = false
122
123 [dependencies.hashbrown]
124 version = "0.15"
125 features = [
126 "default-hasher",
127 "inline-more",
128 ]
129 default-features = false
130
131 [dependencies.hexf-parse]
132 version = "0.2"
133 optional = true
134
135 [dependencies.indexmap]
136 version = "2.7"
137 default-features = false
138
139 [dependencies.libm]
140 version = "0.2.6"
141 default-features = false
142
143 [dependencies.log]
144 version = "0.4.21"
145
146 [dependencies.num-traits]
147 version = "0.2.16"
148 default-features = false
149
150 [dependencies.once_cell]
151 version = "1.21"
152 features = [
153 "alloc",
154 "race",
155 ]
156 default-features = false
157
158 [dependencies.petgraph]
159 version = "0.8"
160 optional = true
161 default-features = false
162
163 [dependencies.pp-rs]
164 version = "0.2.1"
165 optional = true
166
167 [dependencies.rustc-hash]
168 version = "1.1"
169 default-features = false
170
171 [dependencies.serde]
172 version = "1.0.219"
173 features = [
174 "alloc",
175 "derive",
176 ]
177 optional = true
178 default-features = false
179
180 [dependencies.spirv]
181 version = "0.3"
182 optional = true
183
184 [dependencies.strum]
185 version = "0.27"
186 features = ["derive"]
187 optional = true
188 default-features = false
189
190 [dependencies.thiserror]
191 version = "2.0.3"
192 default-features = false
193
194 [dependencies.unicode-ident]
195 version = "1.0.5"
196 optional = true
197
198 [dev-dependencies.diff]
199 version = "0.1"
200
201 [dev-dependencies.env_logger]
202 version = "0.11"
203 default-features = false
204
205 [dev-dependencies.hashbrown]
206 version = "0.15"
207 features = [
208 "default-hasher",
209 "inline-more",
210 "serde",
211 ]
212 default-features = false
213
214 [dev-dependencies.hlsl-snapshots]
215 path = "hlsl-snapshots"
216
217 [dev-dependencies.itertools]
218 version = "0.14"
219
220 [dev-dependencies.ron]
221 version = "0.10"
222
223 [dev-dependencies.rspirv]
224 version = "0.11"
225 git = "https://github.com/gfx-rs/rspirv"
226 rev = "b969f175d5663258b4891e44b76c1544da9661ab"
227
228 [dev-dependencies.serde]
229 version = "1.0.219"
230 features = [
231 "default",
232 "derive",
233 ]
234 default-features = false
235
236 [dev-dependencies.spirv]
237 version = "0.3"
238 features = ["deserialize"]
239
240 [dev-dependencies.toml]
241 version = "0.8"
242
243 [dev-dependencies.walkdir]
244 version = "2.3"
245
246 [build-dependencies.cfg_aliases]
247 version = "0.2.1"
248
249 [lints.clippy]
250 alloc_instead_of_core = "warn"
251 std_instead_of_alloc = "warn"
252 std_instead_of_core = "warn"