Debian Codegraph @

crates/wit-parser/tests/ui/gated-include.wit.json

raw
1 {
2 "worlds": [
3 {
4 "name": "unknown-stability",
5 "imports": {
6 "interface-0": {
7 "interface": {
8 "id": 0
9 }
10 }
11 },
12 "exports": {},
13 "package": 0
14 },
15 {
16 "name": "unstable",
17 "imports": {
18 "interface-1": {
19 "interface": {
20 "id": 1,
21 "stability": {
22 "unstable": {
23 "feature": "active"
24 }
25 }
26 }
27 }
28 },
29 "exports": {},
30 "package": 0
31 },
32 {
33 "name": "stable",
34 "imports": {
35 "interface-2": {
36 "interface": {
37 "id": 2,
38 "stability": {
39 "stable": {
40 "since": "0.1.0"
41 }
42 }
43 }
44 }
45 },
46 "exports": {},
47 "package": 0
48 },
49 {
50 "name": "simple-include",
51 "imports": {
52 "interface-1": {
53 "interface": {
54 "id": 1,
55 "stability": {
56 "unstable": {
57 "feature": "active"
58 }
59 }
60 }
61 },
62 "interface-2": {
63 "interface": {
64 "id": 2,
65 "stability": {
66 "stable": {
67 "since": "0.1.0"
68 }
69 }
70 }
71 },
72 "interface-0": {
73 "interface": {
74 "id": 0
75 }
76 }
77 },
78 "exports": {},
79 "package": 0
80 },
81 {
82 "name": "unstable-include-in-package",
83 "imports": {
84 "interface-1": {
85 "interface": {
86 "id": 1,
87 "stability": {
88 "unstable": {
89 "feature": "active"
90 }
91 }
92 }
93 }
94 },
95 "exports": {},
96 "package": 0
97 },
98 {
99 "name": "dup-include-in-package",
100 "imports": {
101 "interface-1": {
102 "interface": {
103 "id": 1,
104 "stability": {
105 "unstable": {
106 "feature": "active"
107 }
108 }
109 }
110 },
111 "interface-2": {
112 "interface": {
113 "id": 2,
114 "stability": {
115 "stable": {
116 "since": "0.1.0"
117 }
118 }
119 }
120 },
121 "interface-0": {
122 "interface": {
123 "id": 0
124 }
125 }
126 },
127 "exports": {},
128 "package": 0
129 },
130 {
131 "name": "dup-use-package",
132 "imports": {
133 "interface-1": {
134 "interface": {
135 "id": 1,
136 "stability": {
137 "unstable": {
138 "feature": "active"
139 }
140 }
141 }
142 },
143 "interface-2": {
144 "interface": {
145 "id": 2,
146 "stability": {
147 "stable": {
148 "since": "0.1.0"
149 }
150 }
151 }
152 },
153 "interface-0": {
154 "interface": {
155 "id": 0
156 }
157 },
158 "stable-resource": {
159 "type": 3
160 }
161 },
162 "exports": {},
163 "package": 0
164 },
165 {
166 "name": "dup-use-package-ordered",
167 "imports": {
168 "interface-1": {
169 "interface": {
170 "id": 1,
171 "stability": {
172 "unstable": {
173 "feature": "active"
174 }
175 }
176 }
177 },
178 "interface-2": {
179 "interface": {
180 "id": 2,
181 "stability": {
182 "stable": {
183 "since": "0.1.0"
184 }
185 }
186 }
187 },
188 "interface-0": {
189 "interface": {
190 "id": 0
191 }
192 },
193 "stable-resource": {
194 "type": 4
195 }
196 },
197 "exports": {},
198 "package": 0
199 }
200 ],
201 "interfaces": [
202 {
203 "name": "unknown-stability-interface",
204 "types": {
205 "unknown-stability-resource": 0
206 },
207 "functions": {
208 "stable-func": {
209 "name": "stable-func",
210 "kind": "freestanding",
211 "params": []
212 }
213 },
214 "package": 0
215 },
216 {
217 "name": "unstable-interface",
218 "types": {
219 "unstable-resource": 1
220 },
221 "functions": {
222 "unstable-func": {
223 "name": "unstable-func",
224 "kind": "freestanding",
225 "params": [],
226 "stability": {
227 "unstable": {
228 "feature": "active"
229 }
230 }
231 }
232 },
233 "stability": {
234 "unstable": {
235 "feature": "active"
236 }
237 },
238 "package": 0
239 },
240 {
241 "name": "stable-interface",
242 "types": {
243 "stable-resource": 2
244 },
245 "functions": {
246 "stable-func": {
247 "name": "stable-func",
248 "kind": "freestanding",
249 "params": [],
250 "stability": {
251 "stable": {
252 "since": "0.1.0"
253 }
254 }
255 }
256 },
257 "stability": {
258 "stable": {
259 "since": "0.1.0"
260 }
261 },
262 "package": 0
263 }
264 ],
265 "types": [
266 {
267 "name": "unknown-stability-resource",
268 "kind": "resource",
269 "owner": {
270 "interface": 0
271 }
272 },
273 {
274 "name": "unstable-resource",
275 "kind": "resource",
276 "owner": {
277 "interface": 1
278 },
279 "stability": {
280 "unstable": {
281 "feature": "active"
282 }
283 }
284 },
285 {
286 "name": "stable-resource",
287 "kind": "resource",
288 "owner": {
289 "interface": 2
290 },
291 "stability": {
292 "stable": {
293 "since": "0.1.0"
294 }
295 }
296 },
297 {
298 "name": "stable-resource",
299 "kind": {
300 "type": 2
301 },
302 "owner": {
303 "world": 6
304 },
305 "stability": {
306 "unstable": {
307 "feature": "active"
308 }
309 }
310 },
311 {
312 "name": "stable-resource",
313 "kind": {
314 "type": 2
315 },
316 "owner": {
317 "world": 7
318 },
319 "stability": {
320 "unstable": {
321 "feature": "active"
322 }
323 }
324 }
325 ],
326 "packages": [
327 {
328 "name": "wasmtime:[email protected]",
329 "interfaces": {
330 "unknown-stability-interface": 0,
331 "unstable-interface": 1,
332 "stable-interface": 2
333 },
334 "worlds": {
335 "unknown-stability": 0,
336 "unstable": 1,
337 "stable": 2,
338 "simple-include": 3,
339 "unstable-include-in-package": 4,
340 "dup-include-in-package": 5,
341 "dup-use-package": 6,
342 "dup-use-package-ordered": 7
343 }
344 }
345 ]
346 }