prometheus-client-mmap 1.2.8 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31c78daf9e3ad81dbf2c9a06ec9bd271ccf3af208fbaef0f36bff06a8e04a7ea
4
- data.tar.gz: 01cbe1ab2a5a0fcb4c1488838f18c62ff030fbe9eb51ba1c283a25049b97ab5e
3
+ metadata.gz: 66f0fcb28bee8a4267b085e2b92f3209d6115267711795945df1d3d153924aac
4
+ data.tar.gz: 4ba7bdd7df5ddb8a4c01f09864949d7d04e1eea4b923c70f036efc6e57db6e3e
5
5
  SHA512:
6
- metadata.gz: '086de4b8d7272b035f31eefc5a4c6a840f7701028cd2145195c6be9fdb37fc33281ff893a41d4d01428f59ba1a7dfc002e8510eac6b70528e18bd3e4f5edb3ff'
7
- data.tar.gz: 27edc0799607a18c390b11bce5223721ff11fbe88824f525abc8f295627c485a1a97f57657f7a6c4cf8de68d1e820689fd6d48aca5bbc0c0edb614a10d1ea431
6
+ metadata.gz: d3418824bdd15f959ecee7464ab043aef9fca2175bbb81ce8e90191f1f3600ce3d87a4033ebabe9ed423a9de1edbad36e968f11ce7413f56b330713cde5b7038
7
+ data.tar.gz: 92b80305c98db5823ac5d776632b3149008e924c5f45e507af73dfc5e4b305fdd69a72fbb413e926be50ab5540eb3e91bdfd7461d68407f572618a358b41c31e
data/Cargo.lock ADDED
@@ -0,0 +1,765 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "allocator-api2"
16
+ version = "0.2.21"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
19
+
20
+ [[package]]
21
+ name = "autocfg"
22
+ version = "1.4.0"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
25
+
26
+ [[package]]
27
+ name = "bindgen"
28
+ version = "0.69.5"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
31
+ dependencies = [
32
+ "bitflags 2.9.0",
33
+ "cexpr",
34
+ "clang-sys",
35
+ "itertools",
36
+ "lazy_static",
37
+ "lazycell",
38
+ "proc-macro2",
39
+ "quote",
40
+ "regex",
41
+ "rustc-hash",
42
+ "shlex",
43
+ "syn",
44
+ ]
45
+
46
+ [[package]]
47
+ name = "bitflags"
48
+ version = "1.3.2"
49
+ source = "registry+https://github.com/rust-lang/crates.io-index"
50
+ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
51
+
52
+ [[package]]
53
+ name = "bitflags"
54
+ version = "2.9.0"
55
+ source = "registry+https://github.com/rust-lang/crates.io-index"
56
+ checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
57
+
58
+ [[package]]
59
+ name = "block-buffer"
60
+ version = "0.10.4"
61
+ source = "registry+https://github.com/rust-lang/crates.io-index"
62
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
63
+ dependencies = [
64
+ "generic-array",
65
+ ]
66
+
67
+ [[package]]
68
+ name = "bstr"
69
+ version = "1.12.0"
70
+ source = "registry+https://github.com/rust-lang/crates.io-index"
71
+ checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
72
+ dependencies = [
73
+ "memchr",
74
+ "regex-automata",
75
+ "serde",
76
+ ]
77
+
78
+ [[package]]
79
+ name = "cexpr"
80
+ version = "0.6.0"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
83
+ dependencies = [
84
+ "nom",
85
+ ]
86
+
87
+ [[package]]
88
+ name = "cfg-if"
89
+ version = "1.0.0"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
92
+
93
+ [[package]]
94
+ name = "clang-sys"
95
+ version = "1.8.1"
96
+ source = "registry+https://github.com/rust-lang/crates.io-index"
97
+ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
98
+ dependencies = [
99
+ "glob",
100
+ "libc",
101
+ "libloading",
102
+ ]
103
+
104
+ [[package]]
105
+ name = "cpufeatures"
106
+ version = "0.2.17"
107
+ source = "registry+https://github.com/rust-lang/crates.io-index"
108
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
109
+ dependencies = [
110
+ "libc",
111
+ ]
112
+
113
+ [[package]]
114
+ name = "crypto-common"
115
+ version = "0.1.6"
116
+ source = "registry+https://github.com/rust-lang/crates.io-index"
117
+ checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
118
+ dependencies = [
119
+ "generic-array",
120
+ "typenum",
121
+ ]
122
+
123
+ [[package]]
124
+ name = "digest"
125
+ version = "0.10.7"
126
+ source = "registry+https://github.com/rust-lang/crates.io-index"
127
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
128
+ dependencies = [
129
+ "block-buffer",
130
+ "crypto-common",
131
+ ]
132
+
133
+ [[package]]
134
+ name = "either"
135
+ version = "1.15.0"
136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
137
+ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
138
+
139
+ [[package]]
140
+ name = "equivalent"
141
+ version = "1.0.2"
142
+ source = "registry+https://github.com/rust-lang/crates.io-index"
143
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
144
+
145
+ [[package]]
146
+ name = "errno"
147
+ version = "0.3.11"
148
+ source = "registry+https://github.com/rust-lang/crates.io-index"
149
+ checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e"
150
+ dependencies = [
151
+ "libc",
152
+ "windows-sys",
153
+ ]
154
+
155
+ [[package]]
156
+ name = "fast_mmaped_file_rs"
157
+ version = "0.1.0"
158
+ dependencies = [
159
+ "bstr",
160
+ "hashbrown",
161
+ "indoc",
162
+ "libc",
163
+ "magnus",
164
+ "memmap2",
165
+ "nix",
166
+ "rand",
167
+ "rb-sys",
168
+ "rb-sys-env 0.2.2",
169
+ "serde",
170
+ "serde_json",
171
+ "sha2",
172
+ "smallvec",
173
+ "tempfile",
174
+ "thiserror",
175
+ ]
176
+
177
+ [[package]]
178
+ name = "fastrand"
179
+ version = "2.3.0"
180
+ source = "registry+https://github.com/rust-lang/crates.io-index"
181
+ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
182
+
183
+ [[package]]
184
+ name = "foldhash"
185
+ version = "0.1.5"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
188
+
189
+ [[package]]
190
+ name = "generic-array"
191
+ version = "0.14.7"
192
+ source = "registry+https://github.com/rust-lang/crates.io-index"
193
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
194
+ dependencies = [
195
+ "typenum",
196
+ "version_check",
197
+ ]
198
+
199
+ [[package]]
200
+ name = "getrandom"
201
+ version = "0.3.2"
202
+ source = "registry+https://github.com/rust-lang/crates.io-index"
203
+ checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0"
204
+ dependencies = [
205
+ "cfg-if",
206
+ "libc",
207
+ "r-efi",
208
+ "wasi",
209
+ ]
210
+
211
+ [[package]]
212
+ name = "glob"
213
+ version = "0.3.2"
214
+ source = "registry+https://github.com/rust-lang/crates.io-index"
215
+ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
216
+
217
+ [[package]]
218
+ name = "hashbrown"
219
+ version = "0.15.3"
220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
221
+ checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3"
222
+ dependencies = [
223
+ "allocator-api2",
224
+ "equivalent",
225
+ "foldhash",
226
+ ]
227
+
228
+ [[package]]
229
+ name = "indoc"
230
+ version = "2.0.6"
231
+ source = "registry+https://github.com/rust-lang/crates.io-index"
232
+ checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
233
+
234
+ [[package]]
235
+ name = "itertools"
236
+ version = "0.12.1"
237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
238
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
239
+ dependencies = [
240
+ "either",
241
+ ]
242
+
243
+ [[package]]
244
+ name = "itoa"
245
+ version = "1.0.15"
246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
247
+ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
248
+
249
+ [[package]]
250
+ name = "lazy_static"
251
+ version = "1.5.0"
252
+ source = "registry+https://github.com/rust-lang/crates.io-index"
253
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
254
+
255
+ [[package]]
256
+ name = "lazycell"
257
+ version = "1.3.0"
258
+ source = "registry+https://github.com/rust-lang/crates.io-index"
259
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
260
+
261
+ [[package]]
262
+ name = "libc"
263
+ version = "0.2.172"
264
+ source = "registry+https://github.com/rust-lang/crates.io-index"
265
+ checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
266
+
267
+ [[package]]
268
+ name = "libloading"
269
+ version = "0.8.6"
270
+ source = "registry+https://github.com/rust-lang/crates.io-index"
271
+ checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
272
+ dependencies = [
273
+ "cfg-if",
274
+ "windows-targets",
275
+ ]
276
+
277
+ [[package]]
278
+ name = "linux-raw-sys"
279
+ version = "0.9.4"
280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
281
+ checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
282
+
283
+ [[package]]
284
+ name = "magnus"
285
+ version = "0.7.1"
286
+ source = "registry+https://github.com/rust-lang/crates.io-index"
287
+ checksum = "3d87ae53030f3a22e83879e666cb94e58a7bdf31706878a0ba48752994146dab"
288
+ dependencies = [
289
+ "magnus-macros",
290
+ "rb-sys",
291
+ "rb-sys-env 0.1.2",
292
+ "seq-macro",
293
+ ]
294
+
295
+ [[package]]
296
+ name = "magnus-macros"
297
+ version = "0.6.0"
298
+ source = "registry+https://github.com/rust-lang/crates.io-index"
299
+ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
300
+ dependencies = [
301
+ "proc-macro2",
302
+ "quote",
303
+ "syn",
304
+ ]
305
+
306
+ [[package]]
307
+ name = "memchr"
308
+ version = "2.7.4"
309
+ source = "registry+https://github.com/rust-lang/crates.io-index"
310
+ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
311
+
312
+ [[package]]
313
+ name = "memmap2"
314
+ version = "0.9.5"
315
+ source = "registry+https://github.com/rust-lang/crates.io-index"
316
+ checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f"
317
+ dependencies = [
318
+ "libc",
319
+ ]
320
+
321
+ [[package]]
322
+ name = "memoffset"
323
+ version = "0.6.5"
324
+ source = "registry+https://github.com/rust-lang/crates.io-index"
325
+ checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
326
+ dependencies = [
327
+ "autocfg",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "minimal-lexical"
332
+ version = "0.2.1"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
335
+
336
+ [[package]]
337
+ name = "nix"
338
+ version = "0.25.1"
339
+ source = "registry+https://github.com/rust-lang/crates.io-index"
340
+ checksum = "f346ff70e7dbfd675fe90590b92d59ef2de15a8779ae305ebcbfd3f0caf59be4"
341
+ dependencies = [
342
+ "autocfg",
343
+ "bitflags 1.3.2",
344
+ "cfg-if",
345
+ "libc",
346
+ "memoffset",
347
+ "pin-utils",
348
+ ]
349
+
350
+ [[package]]
351
+ name = "nom"
352
+ version = "7.1.3"
353
+ source = "registry+https://github.com/rust-lang/crates.io-index"
354
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
355
+ dependencies = [
356
+ "memchr",
357
+ "minimal-lexical",
358
+ ]
359
+
360
+ [[package]]
361
+ name = "once_cell"
362
+ version = "1.21.3"
363
+ source = "registry+https://github.com/rust-lang/crates.io-index"
364
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
365
+
366
+ [[package]]
367
+ name = "pin-utils"
368
+ version = "0.1.0"
369
+ source = "registry+https://github.com/rust-lang/crates.io-index"
370
+ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
371
+
372
+ [[package]]
373
+ name = "ppv-lite86"
374
+ version = "0.2.21"
375
+ source = "registry+https://github.com/rust-lang/crates.io-index"
376
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
377
+ dependencies = [
378
+ "zerocopy",
379
+ ]
380
+
381
+ [[package]]
382
+ name = "proc-macro2"
383
+ version = "1.0.95"
384
+ source = "registry+https://github.com/rust-lang/crates.io-index"
385
+ checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
386
+ dependencies = [
387
+ "unicode-ident",
388
+ ]
389
+
390
+ [[package]]
391
+ name = "quote"
392
+ version = "1.0.40"
393
+ source = "registry+https://github.com/rust-lang/crates.io-index"
394
+ checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
395
+ dependencies = [
396
+ "proc-macro2",
397
+ ]
398
+
399
+ [[package]]
400
+ name = "r-efi"
401
+ version = "5.2.0"
402
+ source = "registry+https://github.com/rust-lang/crates.io-index"
403
+ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
404
+
405
+ [[package]]
406
+ name = "rand"
407
+ version = "0.9.1"
408
+ source = "registry+https://github.com/rust-lang/crates.io-index"
409
+ checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
410
+ dependencies = [
411
+ "rand_chacha",
412
+ "rand_core",
413
+ ]
414
+
415
+ [[package]]
416
+ name = "rand_chacha"
417
+ version = "0.9.0"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
420
+ dependencies = [
421
+ "ppv-lite86",
422
+ "rand_core",
423
+ ]
424
+
425
+ [[package]]
426
+ name = "rand_core"
427
+ version = "0.9.3"
428
+ source = "registry+https://github.com/rust-lang/crates.io-index"
429
+ checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
430
+ dependencies = [
431
+ "getrandom",
432
+ ]
433
+
434
+ [[package]]
435
+ name = "rb-sys"
436
+ version = "0.9.115"
437
+ source = "registry+https://github.com/rust-lang/crates.io-index"
438
+ checksum = "99ca6726be0eca74687047fed7dcbc2d509571f3962e190c343ac1eb40e482b3"
439
+ dependencies = [
440
+ "rb-sys-build",
441
+ ]
442
+
443
+ [[package]]
444
+ name = "rb-sys-build"
445
+ version = "0.9.115"
446
+ source = "registry+https://github.com/rust-lang/crates.io-index"
447
+ checksum = "9f2390cfc87b7513656656faad6567291e581542d3ec41dd0a2bf381896e0880"
448
+ dependencies = [
449
+ "bindgen",
450
+ "lazy_static",
451
+ "proc-macro2",
452
+ "quote",
453
+ "regex",
454
+ "shell-words",
455
+ "syn",
456
+ ]
457
+
458
+ [[package]]
459
+ name = "rb-sys-env"
460
+ version = "0.1.2"
461
+ source = "registry+https://github.com/rust-lang/crates.io-index"
462
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
463
+
464
+ [[package]]
465
+ name = "rb-sys-env"
466
+ version = "0.2.2"
467
+ source = "registry+https://github.com/rust-lang/crates.io-index"
468
+ checksum = "08f8d2924cf136a1315e2b4c7460a39f62ef11ee5d522df9b2750fab55b868b6"
469
+
470
+ [[package]]
471
+ name = "regex"
472
+ version = "1.11.1"
473
+ source = "registry+https://github.com/rust-lang/crates.io-index"
474
+ checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
475
+ dependencies = [
476
+ "aho-corasick",
477
+ "memchr",
478
+ "regex-automata",
479
+ "regex-syntax",
480
+ ]
481
+
482
+ [[package]]
483
+ name = "regex-automata"
484
+ version = "0.4.9"
485
+ source = "registry+https://github.com/rust-lang/crates.io-index"
486
+ checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
487
+ dependencies = [
488
+ "aho-corasick",
489
+ "memchr",
490
+ "regex-syntax",
491
+ ]
492
+
493
+ [[package]]
494
+ name = "regex-syntax"
495
+ version = "0.8.5"
496
+ source = "registry+https://github.com/rust-lang/crates.io-index"
497
+ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
498
+
499
+ [[package]]
500
+ name = "rustc-hash"
501
+ version = "1.1.0"
502
+ source = "registry+https://github.com/rust-lang/crates.io-index"
503
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
504
+
505
+ [[package]]
506
+ name = "rustix"
507
+ version = "1.0.7"
508
+ source = "registry+https://github.com/rust-lang/crates.io-index"
509
+ checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
510
+ dependencies = [
511
+ "bitflags 2.9.0",
512
+ "errno",
513
+ "libc",
514
+ "linux-raw-sys",
515
+ "windows-sys",
516
+ ]
517
+
518
+ [[package]]
519
+ name = "ryu"
520
+ version = "1.0.20"
521
+ source = "registry+https://github.com/rust-lang/crates.io-index"
522
+ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
523
+
524
+ [[package]]
525
+ name = "seq-macro"
526
+ version = "0.3.6"
527
+ source = "registry+https://github.com/rust-lang/crates.io-index"
528
+ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
529
+
530
+ [[package]]
531
+ name = "serde"
532
+ version = "1.0.219"
533
+ source = "registry+https://github.com/rust-lang/crates.io-index"
534
+ checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
535
+ dependencies = [
536
+ "serde_derive",
537
+ ]
538
+
539
+ [[package]]
540
+ name = "serde_derive"
541
+ version = "1.0.219"
542
+ source = "registry+https://github.com/rust-lang/crates.io-index"
543
+ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
544
+ dependencies = [
545
+ "proc-macro2",
546
+ "quote",
547
+ "syn",
548
+ ]
549
+
550
+ [[package]]
551
+ name = "serde_json"
552
+ version = "1.0.140"
553
+ source = "registry+https://github.com/rust-lang/crates.io-index"
554
+ checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
555
+ dependencies = [
556
+ "itoa",
557
+ "memchr",
558
+ "ryu",
559
+ "serde",
560
+ ]
561
+
562
+ [[package]]
563
+ name = "sha2"
564
+ version = "0.10.9"
565
+ source = "registry+https://github.com/rust-lang/crates.io-index"
566
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
567
+ dependencies = [
568
+ "cfg-if",
569
+ "cpufeatures",
570
+ "digest",
571
+ ]
572
+
573
+ [[package]]
574
+ name = "shell-words"
575
+ version = "1.1.0"
576
+ source = "registry+https://github.com/rust-lang/crates.io-index"
577
+ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
578
+
579
+ [[package]]
580
+ name = "shlex"
581
+ version = "1.3.0"
582
+ source = "registry+https://github.com/rust-lang/crates.io-index"
583
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
584
+
585
+ [[package]]
586
+ name = "smallvec"
587
+ version = "1.15.0"
588
+ source = "registry+https://github.com/rust-lang/crates.io-index"
589
+ checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9"
590
+ dependencies = [
591
+ "serde",
592
+ ]
593
+
594
+ [[package]]
595
+ name = "syn"
596
+ version = "2.0.101"
597
+ source = "registry+https://github.com/rust-lang/crates.io-index"
598
+ checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
599
+ dependencies = [
600
+ "proc-macro2",
601
+ "quote",
602
+ "unicode-ident",
603
+ ]
604
+
605
+ [[package]]
606
+ name = "tempfile"
607
+ version = "3.19.1"
608
+ source = "registry+https://github.com/rust-lang/crates.io-index"
609
+ checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf"
610
+ dependencies = [
611
+ "fastrand",
612
+ "getrandom",
613
+ "once_cell",
614
+ "rustix",
615
+ "windows-sys",
616
+ ]
617
+
618
+ [[package]]
619
+ name = "thiserror"
620
+ version = "2.0.12"
621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
622
+ checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
623
+ dependencies = [
624
+ "thiserror-impl",
625
+ ]
626
+
627
+ [[package]]
628
+ name = "thiserror-impl"
629
+ version = "2.0.12"
630
+ source = "registry+https://github.com/rust-lang/crates.io-index"
631
+ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
632
+ dependencies = [
633
+ "proc-macro2",
634
+ "quote",
635
+ "syn",
636
+ ]
637
+
638
+ [[package]]
639
+ name = "typenum"
640
+ version = "1.18.0"
641
+ source = "registry+https://github.com/rust-lang/crates.io-index"
642
+ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
643
+
644
+ [[package]]
645
+ name = "unicode-ident"
646
+ version = "1.0.18"
647
+ source = "registry+https://github.com/rust-lang/crates.io-index"
648
+ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
649
+
650
+ [[package]]
651
+ name = "version_check"
652
+ version = "0.9.5"
653
+ source = "registry+https://github.com/rust-lang/crates.io-index"
654
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
655
+
656
+ [[package]]
657
+ name = "wasi"
658
+ version = "0.14.2+wasi-0.2.4"
659
+ source = "registry+https://github.com/rust-lang/crates.io-index"
660
+ checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
661
+ dependencies = [
662
+ "wit-bindgen-rt",
663
+ ]
664
+
665
+ [[package]]
666
+ name = "windows-sys"
667
+ version = "0.59.0"
668
+ source = "registry+https://github.com/rust-lang/crates.io-index"
669
+ checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
670
+ dependencies = [
671
+ "windows-targets",
672
+ ]
673
+
674
+ [[package]]
675
+ name = "windows-targets"
676
+ version = "0.52.6"
677
+ source = "registry+https://github.com/rust-lang/crates.io-index"
678
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
679
+ dependencies = [
680
+ "windows_aarch64_gnullvm",
681
+ "windows_aarch64_msvc",
682
+ "windows_i686_gnu",
683
+ "windows_i686_gnullvm",
684
+ "windows_i686_msvc",
685
+ "windows_x86_64_gnu",
686
+ "windows_x86_64_gnullvm",
687
+ "windows_x86_64_msvc",
688
+ ]
689
+
690
+ [[package]]
691
+ name = "windows_aarch64_gnullvm"
692
+ version = "0.52.6"
693
+ source = "registry+https://github.com/rust-lang/crates.io-index"
694
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
695
+
696
+ [[package]]
697
+ name = "windows_aarch64_msvc"
698
+ version = "0.52.6"
699
+ source = "registry+https://github.com/rust-lang/crates.io-index"
700
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
701
+
702
+ [[package]]
703
+ name = "windows_i686_gnu"
704
+ version = "0.52.6"
705
+ source = "registry+https://github.com/rust-lang/crates.io-index"
706
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
707
+
708
+ [[package]]
709
+ name = "windows_i686_gnullvm"
710
+ version = "0.52.6"
711
+ source = "registry+https://github.com/rust-lang/crates.io-index"
712
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
713
+
714
+ [[package]]
715
+ name = "windows_i686_msvc"
716
+ version = "0.52.6"
717
+ source = "registry+https://github.com/rust-lang/crates.io-index"
718
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
719
+
720
+ [[package]]
721
+ name = "windows_x86_64_gnu"
722
+ version = "0.52.6"
723
+ source = "registry+https://github.com/rust-lang/crates.io-index"
724
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
725
+
726
+ [[package]]
727
+ name = "windows_x86_64_gnullvm"
728
+ version = "0.52.6"
729
+ source = "registry+https://github.com/rust-lang/crates.io-index"
730
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
731
+
732
+ [[package]]
733
+ name = "windows_x86_64_msvc"
734
+ version = "0.52.6"
735
+ source = "registry+https://github.com/rust-lang/crates.io-index"
736
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
737
+
738
+ [[package]]
739
+ name = "wit-bindgen-rt"
740
+ version = "0.39.0"
741
+ source = "registry+https://github.com/rust-lang/crates.io-index"
742
+ checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
743
+ dependencies = [
744
+ "bitflags 2.9.0",
745
+ ]
746
+
747
+ [[package]]
748
+ name = "zerocopy"
749
+ version = "0.8.25"
750
+ source = "registry+https://github.com/rust-lang/crates.io-index"
751
+ checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb"
752
+ dependencies = [
753
+ "zerocopy-derive",
754
+ ]
755
+
756
+ [[package]]
757
+ name = "zerocopy-derive"
758
+ version = "0.8.25"
759
+ source = "registry+https://github.com/rust-lang/crates.io-index"
760
+ checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef"
761
+ dependencies = [
762
+ "proc-macro2",
763
+ "quote",
764
+ "syn",
765
+ ]
data/Cargo.toml ADDED
@@ -0,0 +1,7 @@
1
+ # This Cargo.toml is here to let externals tools (IDEs, etc.) know that this is
2
+ # a Rust project. Your extensions dependencies should be added to the Cargo.toml
3
+ # in the ext/ directory.
4
+
5
+ [workspace]
6
+ members = ["ext/fast_mmaped_file_rs"]
7
+ resolver = "2"
@@ -0,0 +1 @@
1
+ ../../Cargo.lock
@@ -6,26 +6,26 @@ edition = "2021"
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
7
 
8
8
  [dependencies]
9
- hashbrown = "0.14"
10
- libc = "0.2"
11
- magnus = { version = "0.7", features = ["rb-sys"] }
12
- memmap2 = "0.9"
9
+ hashbrown = "0.15.2"
10
+ libc = "0.2.172"
11
+ magnus = { version = "0.7.1", features = ["rb-sys"] }
12
+ memmap2 = "0.9.5"
13
13
  # v0.26 cannot be built on CentOS 7 https://github.com/nix-rust/nix/issues/1972
14
14
  nix = { version = "0.25", features = ["mman"] } # mman used for MsFlags
15
- rb-sys = { version = "0.9", features = ["stable-api-compiled-fallback"] }
16
- serde = { version = "1.0", features = ["derive"] }
17
- serde_json = { version = "1.0", features = ["raw_value"] }
18
- smallvec = { version = "1.13", features = ["serde"] }
19
- thiserror = "2.0"
15
+ rb-sys = { version = "0.9.111", features = ["stable-api-compiled-fallback"] }
16
+ serde = { version = "1.0.219", features = ["derive"] }
17
+ serde_json = { version = "1.0.140", features = ["raw_value"] }
18
+ smallvec = { version = "1.15", features = ["serde"] }
19
+ thiserror = "2.0.12"
20
20
 
21
21
  [dev-dependencies]
22
- bstr = "1.11"
23
- indoc = "2.0"
22
+ bstr = "1.12"
23
+ indoc = "2.0.6"
24
24
  # We need the `embed` feature to run tests, but this triggers failures when building as a Gem.
25
- magnus = { version = "0.7", features = ["rb-sys","embed"] }
26
- rand = "0.8"
27
- sha2 = "0.10"
28
- tempfile = "3.15"
25
+ magnus = { version = "0.7.1", features = ["rb-sys","embed"] }
26
+ rand = "0.9.1"
27
+ sha2 = "0.10.9"
28
+ tempfile = "3.19.1"
29
29
 
30
30
  [build-dependencies]
31
31
  rb-sys-env = "0.2.2"
@@ -4,6 +4,7 @@ require "rb_sys/mkmf"
4
4
  if find_executable('rustc')
5
5
  create_rust_makefile("fast_mmaped_file_rs") do |r|
6
6
  r.auto_install_rust_toolchain = false
7
+ r.extra_cargo_args = ["--locked"]
7
8
 
8
9
  if enable_config('fail-on-warning')
9
10
  r.extra_rustflags = ["-Dwarnings"]
@@ -1,5 +1,5 @@
1
1
  module Prometheus
2
2
  module Client
3
- VERSION = '1.2.8'.freeze
3
+ VERSION = '1.2.10'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prometheus-client-mmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schmidt
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2025-02-02 00:00:00.000000000 Z
14
+ date: 2025-05-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: base64
@@ -171,7 +171,10 @@ extensions:
171
171
  extra_rdoc_files: []
172
172
  files:
173
173
  - ".tool-versions"
174
+ - Cargo.lock
175
+ - Cargo.toml
174
176
  - README.md
177
+ - ext/fast_mmaped_file_rs/Cargo.lock
175
178
  - ext/fast_mmaped_file_rs/Cargo.toml
176
179
  - ext/fast_mmaped_file_rs/README.md
177
180
  - ext/fast_mmaped_file_rs/build.rs