tangled
alpha
login
or
join now
gm112.bsky.social
/
rust-test-project
0
fork
atom
Simple test project that sets up a hybrid cargo crate with a vite project
0
fork
atom
overview
issues
pulls
pipelines
chore: update vitest and cargo packages
@gm112
1 month ago
a65f2d06
c09f18e6
+254
-66
6 changed files
expand all
collapse all
unified
split
Cargo.lock
com-gm112-rust-testlibrary
package.json
playground
vitest.browser.config.ts
vitest.config.ts
pnpm-lock.yaml
pnpm-workspace.yaml
+212
-58
Cargo.lock
···
3
version = 4
4
5
[[package]]
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
6
name = "bumpalo"
7
-
version = "3.19.0"
0
0
0
0
0
0
8
source = "registry+https://github.com/rust-lang/crates.io-index"
9
-
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
10
11
[[package]]
12
name = "cc"
13
-
version = "1.2.40"
14
source = "registry+https://github.com/rust-lang/crates.io-index"
15
-
checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb"
16
dependencies = [
17
"find-msvc-tools",
18
"shlex",
···
20
21
[[package]]
22
name = "cfg-if"
23
-
version = "1.0.3"
24
source = "registry+https://github.com/rust-lang/crates.io-index"
25
-
checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
26
27
[[package]]
28
name = "com-gm112-rust-testlibrary"
···
52
53
[[package]]
54
name = "find-msvc-tools"
55
-
version = "0.1.3"
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
56
source = "registry+https://github.com/rust-lang/crates.io-index"
57
-
checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3"
58
59
[[package]]
60
name = "js-sys"
61
-
version = "0.3.81"
62
source = "registry+https://github.com/rust-lang/crates.io-index"
63
-
checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305"
64
dependencies = [
65
"once_cell",
66
"wasm-bindgen",
67
]
68
69
[[package]]
70
-
name = "log"
71
-
version = "0.4.28"
72
source = "registry+https://github.com/rust-lang/crates.io-index"
73
-
checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
0
0
0
0
0
0
74
75
[[package]]
76
name = "minicov"
77
-
version = "0.3.7"
78
source = "registry+https://github.com/rust-lang/crates.io-index"
79
-
checksum = "f27fe9f1cc3c22e1687f9446c2083c4c5fc7f0bcf1c7a86bdbded14985895b4b"
80
dependencies = [
81
"cc",
82
"walkdir",
83
]
84
85
[[package]]
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
86
name = "once_cell"
87
version = "1.21.3"
88
source = "registry+https://github.com/rust-lang/crates.io-index"
89
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
90
91
[[package]]
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
92
name = "proc-macro2"
93
-
version = "1.0.101"
94
source = "registry+https://github.com/rust-lang/crates.io-index"
95
-
checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
96
dependencies = [
97
"unicode-ident",
98
]
99
100
[[package]]
101
name = "quote"
102
-
version = "1.0.41"
103
source = "registry+https://github.com/rust-lang/crates.io-index"
104
-
checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
105
dependencies = [
106
"proc-macro2",
107
]
···
122
]
123
124
[[package]]
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
125
name = "shlex"
126
version = "1.3.0"
127
source = "registry+https://github.com/rust-lang/crates.io-index"
128
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
129
130
[[package]]
0
0
0
0
0
0
131
name = "syn"
132
-
version = "2.0.106"
133
source = "registry+https://github.com/rust-lang/crates.io-index"
134
-
checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
135
dependencies = [
136
"proc-macro2",
137
"quote",
···
140
141
[[package]]
142
name = "unicode-ident"
143
-
version = "1.0.19"
144
source = "registry+https://github.com/rust-lang/crates.io-index"
145
-
checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
146
147
[[package]]
148
name = "walkdir"
···
156
157
[[package]]
158
name = "wasm-bindgen"
159
-
version = "0.2.104"
160
source = "registry+https://github.com/rust-lang/crates.io-index"
161
-
checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d"
162
dependencies = [
163
"cfg-if",
164
"once_cell",
···
168
]
169
170
[[package]]
171
-
name = "wasm-bindgen-backend"
172
-
version = "0.2.104"
173
-
source = "registry+https://github.com/rust-lang/crates.io-index"
174
-
checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19"
175
-
dependencies = [
176
-
"bumpalo",
177
-
"log",
178
-
"proc-macro2",
179
-
"quote",
180
-
"syn",
181
-
"wasm-bindgen-shared",
182
-
]
183
-
184
-
[[package]]
185
name = "wasm-bindgen-futures"
186
-
version = "0.4.54"
187
source = "registry+https://github.com/rust-lang/crates.io-index"
188
-
checksum = "7e038d41e478cc73bae0ff9b36c60cff1c98b8f38f8d7e8061e79ee63608ac5c"
189
dependencies = [
190
"cfg-if",
0
191
"js-sys",
192
"once_cell",
193
"wasm-bindgen",
···
196
197
[[package]]
198
name = "wasm-bindgen-macro"
199
-
version = "0.2.104"
200
source = "registry+https://github.com/rust-lang/crates.io-index"
201
-
checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119"
202
dependencies = [
203
"quote",
204
"wasm-bindgen-macro-support",
···
206
207
[[package]]
208
name = "wasm-bindgen-macro-support"
209
-
version = "0.2.104"
210
source = "registry+https://github.com/rust-lang/crates.io-index"
211
-
checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7"
212
dependencies = [
0
213
"proc-macro2",
214
"quote",
215
"syn",
216
-
"wasm-bindgen-backend",
217
"wasm-bindgen-shared",
218
]
219
220
[[package]]
221
name = "wasm-bindgen-shared"
222
-
version = "0.2.104"
223
source = "registry+https://github.com/rust-lang/crates.io-index"
224
-
checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1"
225
dependencies = [
226
"unicode-ident",
227
]
228
229
[[package]]
230
name = "wasm-bindgen-test"
231
-
version = "0.3.54"
232
source = "registry+https://github.com/rust-lang/crates.io-index"
233
-
checksum = "4e381134e148c1062f965a42ed1f5ee933eef2927c3f70d1812158f711d39865"
234
dependencies = [
0
0
235
"js-sys",
0
236
"minicov",
0
0
0
0
0
237
"wasm-bindgen",
238
"wasm-bindgen-futures",
239
"wasm-bindgen-test-macro",
0
240
]
241
242
[[package]]
243
name = "wasm-bindgen-test-macro"
244
-
version = "0.3.54"
245
source = "registry+https://github.com/rust-lang/crates.io-index"
246
-
checksum = "b673bca3298fe582aeef8352330ecbad91849f85090805582400850f8270a2e8"
247
dependencies = [
248
"proc-macro2",
249
"quote",
···
251
]
252
253
[[package]]
0
0
0
0
0
0
254
name = "web-sys"
255
-
version = "0.3.81"
256
source = "registry+https://github.com/rust-lang/crates.io-index"
257
-
checksum = "9367c417a924a74cae129e6a2ae3b47fabb1f8995595ab474029da749a8be120"
258
dependencies = [
259
"js-sys",
260
"wasm-bindgen",
···
271
272
[[package]]
273
name = "windows-link"
274
-
version = "0.2.0"
275
source = "registry+https://github.com/rust-lang/crates.io-index"
276
-
checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65"
277
278
[[package]]
279
name = "windows-sys"
280
-
version = "0.61.1"
281
source = "registry+https://github.com/rust-lang/crates.io-index"
282
-
checksum = "6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f"
283
dependencies = [
284
"windows-link",
285
]
0
0
0
0
0
0
···
3
version = 4
4
5
[[package]]
6
+
name = "async-trait"
7
+
version = "0.1.89"
8
+
source = "registry+https://github.com/rust-lang/crates.io-index"
9
+
checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
10
+
dependencies = [
11
+
"proc-macro2",
12
+
"quote",
13
+
"syn",
14
+
]
15
+
16
+
[[package]]
17
+
name = "autocfg"
18
+
version = "1.5.0"
19
+
source = "registry+https://github.com/rust-lang/crates.io-index"
20
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
21
+
22
+
[[package]]
23
name = "bumpalo"
24
+
version = "3.19.1"
25
+
source = "registry+https://github.com/rust-lang/crates.io-index"
26
+
checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510"
27
+
28
+
[[package]]
29
+
name = "cast"
30
+
version = "0.3.0"
31
source = "registry+https://github.com/rust-lang/crates.io-index"
32
+
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
33
34
[[package]]
35
name = "cc"
36
+
version = "1.2.55"
37
source = "registry+https://github.com/rust-lang/crates.io-index"
38
+
checksum = "47b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29"
39
dependencies = [
40
"find-msvc-tools",
41
"shlex",
···
43
44
[[package]]
45
name = "cfg-if"
46
+
version = "1.0.4"
47
source = "registry+https://github.com/rust-lang/crates.io-index"
48
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
49
50
[[package]]
51
name = "com-gm112-rust-testlibrary"
···
75
76
[[package]]
77
name = "find-msvc-tools"
78
+
version = "0.1.9"
79
+
source = "registry+https://github.com/rust-lang/crates.io-index"
80
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
81
+
82
+
[[package]]
83
+
name = "futures-core"
84
+
version = "0.3.31"
85
+
source = "registry+https://github.com/rust-lang/crates.io-index"
86
+
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
87
+
88
+
[[package]]
89
+
name = "futures-task"
90
+
version = "0.3.31"
91
+
source = "registry+https://github.com/rust-lang/crates.io-index"
92
+
checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
93
+
94
+
[[package]]
95
+
name = "futures-util"
96
+
version = "0.3.31"
97
+
source = "registry+https://github.com/rust-lang/crates.io-index"
98
+
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
99
+
dependencies = [
100
+
"futures-core",
101
+
"futures-task",
102
+
"pin-project-lite",
103
+
"pin-utils",
104
+
"slab",
105
+
]
106
+
107
+
[[package]]
108
+
name = "itoa"
109
+
version = "1.0.17"
110
source = "registry+https://github.com/rust-lang/crates.io-index"
111
+
checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
112
113
[[package]]
114
name = "js-sys"
115
+
version = "0.3.85"
116
source = "registry+https://github.com/rust-lang/crates.io-index"
117
+
checksum = "8c942ebf8e95485ca0d52d97da7c5a2c387d0e7f0ba4c35e93bfcaee045955b3"
118
dependencies = [
119
"once_cell",
120
"wasm-bindgen",
121
]
122
123
[[package]]
124
+
name = "libm"
125
+
version = "0.2.16"
126
source = "registry+https://github.com/rust-lang/crates.io-index"
127
+
checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
128
+
129
+
[[package]]
130
+
name = "memchr"
131
+
version = "2.8.0"
132
+
source = "registry+https://github.com/rust-lang/crates.io-index"
133
+
checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
134
135
[[package]]
136
name = "minicov"
137
+
version = "0.3.8"
138
source = "registry+https://github.com/rust-lang/crates.io-index"
139
+
checksum = "4869b6a491569605d66d3952bcdf03df789e5b536e5f0cf7758a7f08a55ae24d"
140
dependencies = [
141
"cc",
142
"walkdir",
143
]
144
145
[[package]]
146
+
name = "nu-ansi-term"
147
+
version = "0.50.3"
148
+
source = "registry+https://github.com/rust-lang/crates.io-index"
149
+
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
150
+
dependencies = [
151
+
"windows-sys",
152
+
]
153
+
154
+
[[package]]
155
+
name = "num-traits"
156
+
version = "0.2.19"
157
+
source = "registry+https://github.com/rust-lang/crates.io-index"
158
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
159
+
dependencies = [
160
+
"autocfg",
161
+
"libm",
162
+
]
163
+
164
+
[[package]]
165
name = "once_cell"
166
version = "1.21.3"
167
source = "registry+https://github.com/rust-lang/crates.io-index"
168
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
169
170
[[package]]
171
+
name = "oorandom"
172
+
version = "11.1.5"
173
+
source = "registry+https://github.com/rust-lang/crates.io-index"
174
+
checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
175
+
176
+
[[package]]
177
+
name = "pin-project-lite"
178
+
version = "0.2.16"
179
+
source = "registry+https://github.com/rust-lang/crates.io-index"
180
+
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
181
+
182
+
[[package]]
183
+
name = "pin-utils"
184
+
version = "0.1.0"
185
+
source = "registry+https://github.com/rust-lang/crates.io-index"
186
+
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
187
+
188
+
[[package]]
189
name = "proc-macro2"
190
+
version = "1.0.106"
191
source = "registry+https://github.com/rust-lang/crates.io-index"
192
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
193
dependencies = [
194
"unicode-ident",
195
]
196
197
[[package]]
198
name = "quote"
199
+
version = "1.0.44"
200
source = "registry+https://github.com/rust-lang/crates.io-index"
201
+
checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
202
dependencies = [
203
"proc-macro2",
204
]
···
219
]
220
221
[[package]]
222
+
name = "serde"
223
+
version = "1.0.228"
224
+
source = "registry+https://github.com/rust-lang/crates.io-index"
225
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
226
+
dependencies = [
227
+
"serde_core",
228
+
"serde_derive",
229
+
]
230
+
231
+
[[package]]
232
+
name = "serde_core"
233
+
version = "1.0.228"
234
+
source = "registry+https://github.com/rust-lang/crates.io-index"
235
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
236
+
dependencies = [
237
+
"serde_derive",
238
+
]
239
+
240
+
[[package]]
241
+
name = "serde_derive"
242
+
version = "1.0.228"
243
+
source = "registry+https://github.com/rust-lang/crates.io-index"
244
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
245
+
dependencies = [
246
+
"proc-macro2",
247
+
"quote",
248
+
"syn",
249
+
]
250
+
251
+
[[package]]
252
+
name = "serde_json"
253
+
version = "1.0.149"
254
+
source = "registry+https://github.com/rust-lang/crates.io-index"
255
+
checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
256
+
dependencies = [
257
+
"itoa",
258
+
"memchr",
259
+
"serde",
260
+
"serde_core",
261
+
"zmij",
262
+
]
263
+
264
+
[[package]]
265
name = "shlex"
266
version = "1.3.0"
267
source = "registry+https://github.com/rust-lang/crates.io-index"
268
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
269
270
[[package]]
271
+
name = "slab"
272
+
version = "0.4.12"
273
+
source = "registry+https://github.com/rust-lang/crates.io-index"
274
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
275
+
276
+
[[package]]
277
name = "syn"
278
+
version = "2.0.114"
279
source = "registry+https://github.com/rust-lang/crates.io-index"
280
+
checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
281
dependencies = [
282
"proc-macro2",
283
"quote",
···
286
287
[[package]]
288
name = "unicode-ident"
289
+
version = "1.0.23"
290
source = "registry+https://github.com/rust-lang/crates.io-index"
291
+
checksum = "537dd038a89878be9b64dd4bd1b260315c1bb94f4d784956b81e27a088d9a09e"
292
293
[[package]]
294
name = "walkdir"
···
302
303
[[package]]
304
name = "wasm-bindgen"
305
+
version = "0.2.108"
306
source = "registry+https://github.com/rust-lang/crates.io-index"
307
+
checksum = "64024a30ec1e37399cf85a7ffefebdb72205ca1c972291c51512360d90bd8566"
308
dependencies = [
309
"cfg-if",
310
"once_cell",
···
314
]
315
316
[[package]]
0
0
0
0
0
0
0
0
0
0
0
0
0
0
317
name = "wasm-bindgen-futures"
318
+
version = "0.4.58"
319
source = "registry+https://github.com/rust-lang/crates.io-index"
320
+
checksum = "70a6e77fd0ae8029c9ea0063f87c46fde723e7d887703d74ad2616d792e51e6f"
321
dependencies = [
322
"cfg-if",
323
+
"futures-util",
324
"js-sys",
325
"once_cell",
326
"wasm-bindgen",
···
329
330
[[package]]
331
name = "wasm-bindgen-macro"
332
+
version = "0.2.108"
333
source = "registry+https://github.com/rust-lang/crates.io-index"
334
+
checksum = "008b239d9c740232e71bd39e8ef6429d27097518b6b30bdf9086833bd5b6d608"
335
dependencies = [
336
"quote",
337
"wasm-bindgen-macro-support",
···
339
340
[[package]]
341
name = "wasm-bindgen-macro-support"
342
+
version = "0.2.108"
343
source = "registry+https://github.com/rust-lang/crates.io-index"
344
+
checksum = "5256bae2d58f54820e6490f9839c49780dff84c65aeab9e772f15d5f0e913a55"
345
dependencies = [
346
+
"bumpalo",
347
"proc-macro2",
348
"quote",
349
"syn",
0
350
"wasm-bindgen-shared",
351
]
352
353
[[package]]
354
name = "wasm-bindgen-shared"
355
+
version = "0.2.108"
356
source = "registry+https://github.com/rust-lang/crates.io-index"
357
+
checksum = "1f01b580c9ac74c8d8f0c0e4afb04eeef2acf145458e52c03845ee9cd23e3d12"
358
dependencies = [
359
"unicode-ident",
360
]
361
362
[[package]]
363
name = "wasm-bindgen-test"
364
+
version = "0.3.58"
365
source = "registry+https://github.com/rust-lang/crates.io-index"
366
+
checksum = "45649196a53b0b7a15101d845d44d2dda7374fc1b5b5e2bbf58b7577ff4b346d"
367
dependencies = [
368
+
"async-trait",
369
+
"cast",
370
"js-sys",
371
+
"libm",
372
"minicov",
373
+
"nu-ansi-term",
374
+
"num-traits",
375
+
"oorandom",
376
+
"serde",
377
+
"serde_json",
378
"wasm-bindgen",
379
"wasm-bindgen-futures",
380
"wasm-bindgen-test-macro",
381
+
"wasm-bindgen-test-shared",
382
]
383
384
[[package]]
385
name = "wasm-bindgen-test-macro"
386
+
version = "0.3.58"
387
source = "registry+https://github.com/rust-lang/crates.io-index"
388
+
checksum = "f579cdd0123ac74b94e1a4a72bd963cf30ebac343f2df347da0b8df24cdebed2"
389
dependencies = [
390
"proc-macro2",
391
"quote",
···
393
]
394
395
[[package]]
396
+
name = "wasm-bindgen-test-shared"
397
+
version = "0.2.108"
398
+
source = "registry+https://github.com/rust-lang/crates.io-index"
399
+
checksum = "a8145dd1593bf0fb137dbfa85b8be79ec560a447298955877804640e40c2d6ea"
400
+
401
+
[[package]]
402
name = "web-sys"
403
+
version = "0.3.85"
404
source = "registry+https://github.com/rust-lang/crates.io-index"
405
+
checksum = "312e32e551d92129218ea9a2452120f4aabc03529ef03e4d0d82fb2780608598"
406
dependencies = [
407
"js-sys",
408
"wasm-bindgen",
···
419
420
[[package]]
421
name = "windows-link"
422
+
version = "0.2.1"
423
source = "registry+https://github.com/rust-lang/crates.io-index"
424
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
425
426
[[package]]
427
name = "windows-sys"
428
+
version = "0.61.2"
429
source = "registry+https://github.com/rust-lang/crates.io-index"
430
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
431
dependencies = [
432
"windows-link",
433
]
434
+
435
+
[[package]]
436
+
name = "zmij"
437
+
version = "1.0.20"
438
+
source = "registry+https://github.com/rust-lang/crates.io-index"
439
+
checksum = "4de98dfa5d5b7fef4ee834d0073d560c9ca7b6c46a71d058c48db7960f8cfaf7"
+4
-1
com-gm112-rust-testlibrary/package.json
···
18
"sideEffects": [
19
"pkg/",
20
"./pkg/snippets/*"
21
-
]
0
0
0
22
}
···
18
"sideEffects": [
19
"pkg/",
20
"./pkg/snippets/*"
21
+
],
22
+
"devDependencies": {
23
+
"@vitest/browser-playwright": "catalog:"
24
+
}
25
}
+3
-1
com-gm112-rust-testlibrary/playground/vitest.browser.config.ts
···
1
import { defineConfig } from 'vitest/config'
2
import wasm from 'vite-plugin-wasm'
0
0
3
export default defineConfig({
4
plugins: [wasm()],
5
test: {
6
include: ['./app/**/*.browser.test.ts'],
7
exclude: ['./app/**/*.node.test.ts'],
8
browser: {
9
-
provider: 'playwright', // or 'webdriverio'
10
enabled: true,
11
headless: true,
12
// at least one instance is required
···
1
import { defineConfig } from 'vitest/config'
2
import wasm from 'vite-plugin-wasm'
3
+
import { playwright } from '@vitest/browser-playwright'
4
+
5
export default defineConfig({
6
plugins: [wasm()],
7
test: {
8
include: ['./app/**/*.browser.test.ts'],
9
exclude: ['./app/**/*.node.test.ts'],
10
browser: {
11
+
provider: playwright(),
12
enabled: true,
13
headless: true,
14
// at least one instance is required
+1
com-gm112-rust-testlibrary/playground/vitest.config.ts
···
1
import { defineConfig } from 'vitest/config'
2
import wasm from 'vite-plugin-wasm'
0
3
export default defineConfig({
4
plugins: [wasm()],
5
test: {
···
1
import { defineConfig } from 'vitest/config'
2
import wasm from 'vite-plugin-wasm'
3
+
4
export default defineConfig({
5
plugins: [wasm()],
6
test: {
+33
-6
pnpm-lock.yaml
···
12
'@vitest/browser':
13
specifier: ^4.0.18
14
version: 4.0.18
0
0
0
15
playwright:
16
specifier: ^1.58.2
17
version: 1.58.2
···
39
specifier: 'catalog:'
40
version: 3.8.1
41
42
-
com-gm112-rust-testlibrary: {}
0
0
0
0
43
44
com-gm112-rust-testlibrary/playground:
45
dependencies:
46
'@vitest/browser':
47
specifier: 'catalog:'
48
-
version: 4.0.18(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18(@types/node@25.2.2))
49
playwright:
50
specifier: 'catalog:'
51
version: 1.58.2
···
67
version: 3.5.0(vite@7.3.1(@types/node@25.2.2))
68
vitest:
69
specifier: 'catalog:'
70
-
version: 4.0.18(@types/node@25.2.2)
71
72
com-gm112-rust-testproject: {}
73
···
387
388
'@types/node@25.2.2':
389
resolution: {integrity: sha512-BkmoP5/FhRYek5izySdkOneRyXYN35I860MFAGupTdebyE66uZaR+bXLHq8k4DirE5DwQi3NuhvRU1jqTVwUrQ==}
0
0
0
0
0
0
390
391
'@vitest/browser@4.0.18':
392
resolution: {integrity: sha512-gVQqh7paBz3gC+ZdcCmNSWJMk70IUjDeVqi+5m5vYpEHsIwRgw3Y545jljtajhkekIpIp5Gg8oK7bctgY0E2Ng==}
···
835
dependencies:
836
undici-types: 7.16.0
837
838
-
'@vitest/browser@4.0.18(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18(@types/node@25.2.2))':
0
0
0
0
0
0
0
0
0
0
0
0
0
839
dependencies:
840
'@vitest/mocker': 4.0.18(vite@7.3.1(@types/node@25.2.2))
841
'@vitest/utils': 4.0.18
···
844
pngjs: 7.0.0
845
sirv: 3.0.2
846
tinyrainbow: 3.0.3
847
-
vitest: 4.0.18(@types/node@25.2.2)
848
ws: 8.19.0
849
transitivePeerDependencies:
850
- bufferutil
···
1058
'@types/node': 25.2.2
1059
fsevents: 2.3.3
1060
1061
-
vitest@4.0.18(@types/node@25.2.2):
1062
dependencies:
1063
'@vitest/expect': 4.0.18
1064
'@vitest/mocker': 4.0.18(vite@7.3.1(@types/node@25.2.2))
···
1082
why-is-node-running: 2.3.0
1083
optionalDependencies:
1084
'@types/node': 25.2.2
0
1085
transitivePeerDependencies:
1086
- jiti
1087
- less
···
12
'@vitest/browser':
13
specifier: ^4.0.18
14
version: 4.0.18
15
+
'@vitest/browser-playwright':
16
+
specifier: ^4.0.18
17
+
version: 4.0.18
18
playwright:
19
specifier: ^1.58.2
20
version: 1.58.2
···
42
specifier: 'catalog:'
43
version: 3.8.1
44
45
+
com-gm112-rust-testlibrary:
46
+
devDependencies:
47
+
'@vitest/browser-playwright':
48
+
specifier: 'catalog:'
49
+
version: 4.0.18(playwright@1.58.2)(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18)
50
51
com-gm112-rust-testlibrary/playground:
52
dependencies:
53
'@vitest/browser':
54
specifier: 'catalog:'
55
+
version: 4.0.18(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18)
56
playwright:
57
specifier: 'catalog:'
58
version: 1.58.2
···
74
version: 3.5.0(vite@7.3.1(@types/node@25.2.2))
75
vitest:
76
specifier: 'catalog:'
77
+
version: 4.0.18(@types/node@25.2.2)(@vitest/browser-playwright@4.0.18)
78
79
com-gm112-rust-testproject: {}
80
···
394
395
'@types/node@25.2.2':
396
resolution: {integrity: sha512-BkmoP5/FhRYek5izySdkOneRyXYN35I860MFAGupTdebyE66uZaR+bXLHq8k4DirE5DwQi3NuhvRU1jqTVwUrQ==}
397
+
398
+
'@vitest/browser-playwright@4.0.18':
399
+
resolution: {integrity: sha512-gfajTHVCiwpxRj1qh0Sh/5bbGLG4F/ZH/V9xvFVoFddpITfMta9YGow0W6ZpTTORv2vdJuz9TnrNSmjKvpOf4g==}
400
+
peerDependencies:
401
+
playwright: '*'
402
+
vitest: 4.0.18
403
404
'@vitest/browser@4.0.18':
405
resolution: {integrity: sha512-gVQqh7paBz3gC+ZdcCmNSWJMk70IUjDeVqi+5m5vYpEHsIwRgw3Y545jljtajhkekIpIp5Gg8oK7bctgY0E2Ng==}
···
848
dependencies:
849
undici-types: 7.16.0
850
851
+
'@vitest/browser-playwright@4.0.18(playwright@1.58.2)(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18)':
852
+
dependencies:
853
+
'@vitest/browser': 4.0.18(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18)
854
+
'@vitest/mocker': 4.0.18(vite@7.3.1(@types/node@25.2.2))
855
+
playwright: 1.58.2
856
+
tinyrainbow: 3.0.3
857
+
vitest: 4.0.18(@types/node@25.2.2)(@vitest/browser-playwright@4.0.18)
858
+
transitivePeerDependencies:
859
+
- bufferutil
860
+
- msw
861
+
- utf-8-validate
862
+
- vite
863
+
864
+
'@vitest/browser@4.0.18(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18)':
865
dependencies:
866
'@vitest/mocker': 4.0.18(vite@7.3.1(@types/node@25.2.2))
867
'@vitest/utils': 4.0.18
···
870
pngjs: 7.0.0
871
sirv: 3.0.2
872
tinyrainbow: 3.0.3
873
+
vitest: 4.0.18(@types/node@25.2.2)(@vitest/browser-playwright@4.0.18)
874
ws: 8.19.0
875
transitivePeerDependencies:
876
- bufferutil
···
1084
'@types/node': 25.2.2
1085
fsevents: 2.3.3
1086
1087
+
vitest@4.0.18(@types/node@25.2.2)(@vitest/browser-playwright@4.0.18):
1088
dependencies:
1089
'@vitest/expect': 4.0.18
1090
'@vitest/mocker': 4.0.18(vite@7.3.1(@types/node@25.2.2))
···
1108
why-is-node-running: 2.3.0
1109
optionalDependencies:
1110
'@types/node': 25.2.2
1111
+
'@vitest/browser-playwright': 4.0.18(playwright@1.58.2)(vite@7.3.1(@types/node@25.2.2))(vitest@4.0.18)
1112
transitivePeerDependencies:
1113
- jiti
1114
- less
+1
pnpm-workspace.yaml
···
8
catalog:
9
'@types/node': ^25.2.2
10
'@vitest/browser': ^4.0.18
0
11
playwright: ^1.58.2
12
prettier: ^3.8.1
13
typescript: ^5.9.3
···
8
catalog:
9
'@types/node': ^25.2.2
10
'@vitest/browser': ^4.0.18
11
+
'@vitest/browser-playwright': ^4.0.18
12
playwright: ^1.58.2
13
prettier: ^3.8.1
14
typescript: ^5.9.3