prometheus-client-mmap 1.1.1-x86_64-darwin → 1.1.2-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55e103e30301c4574bdc808d8981c6aa9836b6ecd94bb3b5476b371aec275365
4
- data.tar.gz: 21e9bfa51ffdab8c5c8b7b505fadd968ac2fe30d068a3aea5f773701105c5575
3
+ metadata.gz: 92f6d777a4fdde4b3f870caee365b46cbca08432e81db437223511ed2f53b03d
4
+ data.tar.gz: c035a4f1407e0e2aa820409502f221b03d81d94feea74ab1116468ded550edf7
5
5
  SHA512:
6
- metadata.gz: 0f1d991404f54d5e6372517053cda164d4e08c4037300d1e5c2279c0eaa07c0394be1f5b988e0713d21c19a60a617464cd821f5ce2751dab48c818f7efa1d4b6
7
- data.tar.gz: fbbb75e808e061b24ae5b0dbb75c7f81a2c5a05d6c4a9c7ccba0199fae347f8c7da9b064dbae82f32fe3bbf9bf31a31ec163addde1d06731434f31ddc70e8431
6
+ metadata.gz: 06f6a72ac8b5e05b8c25ac653a794fe11c2f958609946d13e2fe9f8dc8237921a29006e5bc83b7c66c8ee44ac51ef3b20a0adc5d4aac63e33117b93049fa0591
7
+ data.tar.gz: bd0eb1e049555c584d025877ec114dce5d418243705b147822ed45c1ee4155dea240e3363e46272582bcc2f70205b3549d98db0cf5ae3fd03fbc3ec0e8a3077f
@@ -4,9 +4,9 @@ version = 3
4
4
 
5
5
  [[package]]
6
6
  name = "ahash"
7
- version = "0.8.7"
7
+ version = "0.8.11"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01"
9
+ checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
10
10
  dependencies = [
11
11
  "cfg-if",
12
12
  "once_cell",
@@ -16,37 +16,37 @@ dependencies = [
16
16
 
17
17
  [[package]]
18
18
  name = "aho-corasick"
19
- version = "1.1.2"
19
+ version = "1.1.3"
20
20
  source = "registry+https://github.com/rust-lang/crates.io-index"
21
- checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
21
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
22
22
  dependencies = [
23
23
  "memchr",
24
24
  ]
25
25
 
26
26
  [[package]]
27
27
  name = "allocator-api2"
28
- version = "0.2.16"
28
+ version = "0.2.18"
29
29
  source = "registry+https://github.com/rust-lang/crates.io-index"
30
- checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
30
+ checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
31
31
 
32
32
  [[package]]
33
33
  name = "autocfg"
34
- version = "1.1.0"
34
+ version = "1.4.0"
35
35
  source = "registry+https://github.com/rust-lang/crates.io-index"
36
- checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
36
+ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
37
37
 
38
38
  [[package]]
39
39
  name = "bindgen"
40
- version = "0.69.2"
40
+ version = "0.69.4"
41
41
  source = "registry+https://github.com/rust-lang/crates.io-index"
42
- checksum = "a4c69fae65a523209d34240b60abe0c42d33d1045d445c0839d8a4894a736e2d"
42
+ checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
43
43
  dependencies = [
44
- "bitflags 2.4.2",
44
+ "bitflags 2.6.0",
45
45
  "cexpr",
46
46
  "clang-sys",
47
+ "itertools",
47
48
  "lazy_static",
48
49
  "lazycell",
49
- "peeking_take_while",
50
50
  "proc-macro2",
51
51
  "quote",
52
52
  "regex",
@@ -63,9 +63,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
63
63
 
64
64
  [[package]]
65
65
  name = "bitflags"
66
- version = "2.4.2"
66
+ version = "2.6.0"
67
67
  source = "registry+https://github.com/rust-lang/crates.io-index"
68
- checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
68
+ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
69
69
 
70
70
  [[package]]
71
71
  name = "block-buffer"
@@ -78,15 +78,21 @@ dependencies = [
78
78
 
79
79
  [[package]]
80
80
  name = "bstr"
81
- version = "1.9.0"
81
+ version = "1.10.0"
82
82
  source = "registry+https://github.com/rust-lang/crates.io-index"
83
- checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc"
83
+ checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c"
84
84
  dependencies = [
85
85
  "memchr",
86
86
  "regex-automata",
87
87
  "serde",
88
88
  ]
89
89
 
90
+ [[package]]
91
+ name = "byteorder"
92
+ version = "1.5.0"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
95
+
90
96
  [[package]]
91
97
  name = "cexpr"
92
98
  version = "0.6.0"
@@ -104,9 +110,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
104
110
 
105
111
  [[package]]
106
112
  name = "clang-sys"
107
- version = "1.7.0"
113
+ version = "1.8.1"
108
114
  source = "registry+https://github.com/rust-lang/crates.io-index"
109
- checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1"
115
+ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
110
116
  dependencies = [
111
117
  "glob",
112
118
  "libc",
@@ -115,9 +121,9 @@ dependencies = [
115
121
 
116
122
  [[package]]
117
123
  name = "cpufeatures"
118
- version = "0.2.12"
124
+ version = "0.2.14"
119
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
120
- checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
126
+ checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0"
121
127
  dependencies = [
122
128
  "libc",
123
129
  ]
@@ -142,11 +148,17 @@ dependencies = [
142
148
  "crypto-common",
143
149
  ]
144
150
 
151
+ [[package]]
152
+ name = "either"
153
+ version = "1.13.0"
154
+ source = "registry+https://github.com/rust-lang/crates.io-index"
155
+ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
156
+
145
157
  [[package]]
146
158
  name = "errno"
147
- version = "0.3.8"
159
+ version = "0.3.9"
148
160
  source = "registry+https://github.com/rust-lang/crates.io-index"
149
- checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
161
+ checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
150
162
  dependencies = [
151
163
  "libc",
152
164
  "windows-sys 0.52.0",
@@ -165,7 +177,7 @@ dependencies = [
165
177
  "nix",
166
178
  "rand",
167
179
  "rb-sys",
168
- "rb-sys-env",
180
+ "rb-sys-env 0.2.1",
169
181
  "serde",
170
182
  "serde_json",
171
183
  "sha2",
@@ -176,9 +188,9 @@ dependencies = [
176
188
 
177
189
  [[package]]
178
190
  name = "fastrand"
179
- version = "2.0.1"
191
+ version = "2.1.1"
180
192
  source = "registry+https://github.com/rust-lang/crates.io-index"
181
- checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
193
+ checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
182
194
 
183
195
  [[package]]
184
196
  name = "generic-array"
@@ -192,9 +204,9 @@ dependencies = [
192
204
 
193
205
  [[package]]
194
206
  name = "getrandom"
195
- version = "0.2.12"
207
+ version = "0.2.15"
196
208
  source = "registry+https://github.com/rust-lang/crates.io-index"
197
- checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
209
+ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
198
210
  dependencies = [
199
211
  "cfg-if",
200
212
  "libc",
@@ -209,9 +221,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
209
221
 
210
222
  [[package]]
211
223
  name = "hashbrown"
212
- version = "0.14.3"
224
+ version = "0.14.5"
213
225
  source = "registry+https://github.com/rust-lang/crates.io-index"
214
- checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
226
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
215
227
  dependencies = [
216
228
  "ahash",
217
229
  "allocator-api2",
@@ -219,21 +231,30 @@ dependencies = [
219
231
 
220
232
  [[package]]
221
233
  name = "indoc"
222
- version = "2.0.4"
234
+ version = "2.0.5"
235
+ source = "registry+https://github.com/rust-lang/crates.io-index"
236
+ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
237
+
238
+ [[package]]
239
+ name = "itertools"
240
+ version = "0.12.1"
223
241
  source = "registry+https://github.com/rust-lang/crates.io-index"
224
- checksum = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
242
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
243
+ dependencies = [
244
+ "either",
245
+ ]
225
246
 
226
247
  [[package]]
227
248
  name = "itoa"
228
- version = "1.0.10"
249
+ version = "1.0.11"
229
250
  source = "registry+https://github.com/rust-lang/crates.io-index"
230
- checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
251
+ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
231
252
 
232
253
  [[package]]
233
254
  name = "lazy_static"
234
- version = "1.4.0"
255
+ version = "1.5.0"
235
256
  source = "registry+https://github.com/rust-lang/crates.io-index"
236
- checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
257
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
237
258
 
238
259
  [[package]]
239
260
  name = "lazycell"
@@ -243,35 +264,35 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
243
264
 
244
265
  [[package]]
245
266
  name = "libc"
246
- version = "0.2.152"
267
+ version = "0.2.159"
247
268
  source = "registry+https://github.com/rust-lang/crates.io-index"
248
- checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
269
+ checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
249
270
 
250
271
  [[package]]
251
272
  name = "libloading"
252
- version = "0.8.1"
273
+ version = "0.8.5"
253
274
  source = "registry+https://github.com/rust-lang/crates.io-index"
254
- checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161"
275
+ checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
255
276
  dependencies = [
256
277
  "cfg-if",
257
- "windows-sys 0.48.0",
278
+ "windows-targets",
258
279
  ]
259
280
 
260
281
  [[package]]
261
282
  name = "linux-raw-sys"
262
- version = "0.4.13"
283
+ version = "0.4.14"
263
284
  source = "registry+https://github.com/rust-lang/crates.io-index"
264
- checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
285
+ checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
265
286
 
266
287
  [[package]]
267
288
  name = "magnus"
268
- version = "0.6.2"
289
+ version = "0.7.1"
269
290
  source = "registry+https://github.com/rust-lang/crates.io-index"
270
- checksum = "4778544796676e8428e9c622460ebf284bea52d8b10db3aeb449d8b5e61b3a13"
291
+ checksum = "3d87ae53030f3a22e83879e666cb94e58a7bdf31706878a0ba48752994146dab"
271
292
  dependencies = [
272
293
  "magnus-macros",
273
294
  "rb-sys",
274
- "rb-sys-env",
295
+ "rb-sys-env 0.1.2",
275
296
  "seq-macro",
276
297
  ]
277
298
 
@@ -288,15 +309,15 @@ dependencies = [
288
309
 
289
310
  [[package]]
290
311
  name = "memchr"
291
- version = "2.7.1"
312
+ version = "2.7.4"
292
313
  source = "registry+https://github.com/rust-lang/crates.io-index"
293
- checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
314
+ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
294
315
 
295
316
  [[package]]
296
317
  name = "memmap2"
297
- version = "0.9.3"
318
+ version = "0.9.5"
298
319
  source = "registry+https://github.com/rust-lang/crates.io-index"
299
- checksum = "45fd3a57831bf88bc63f8cebc0cf956116276e97fef3966103e96416209f7c92"
320
+ checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f"
300
321
  dependencies = [
301
322
  "libc",
302
323
  ]
@@ -342,15 +363,12 @@ dependencies = [
342
363
 
343
364
  [[package]]
344
365
  name = "once_cell"
345
- version = "1.19.0"
346
- source = "registry+https://github.com/rust-lang/crates.io-index"
347
- checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
348
-
349
- [[package]]
350
- name = "peeking_take_while"
351
- version = "0.1.2"
366
+ version = "1.20.1"
352
367
  source = "registry+https://github.com/rust-lang/crates.io-index"
353
- checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
368
+ checksum = "82881c4be219ab5faaf2ad5e5e5ecdff8c66bd7402ca3160975c93b24961afd1"
369
+ dependencies = [
370
+ "portable-atomic",
371
+ ]
354
372
 
355
373
  [[package]]
356
374
  name = "pin-utils"
@@ -358,26 +376,35 @@ version = "0.1.0"
358
376
  source = "registry+https://github.com/rust-lang/crates.io-index"
359
377
  checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
360
378
 
379
+ [[package]]
380
+ name = "portable-atomic"
381
+ version = "1.9.0"
382
+ source = "registry+https://github.com/rust-lang/crates.io-index"
383
+ checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
384
+
361
385
  [[package]]
362
386
  name = "ppv-lite86"
363
- version = "0.2.17"
387
+ version = "0.2.20"
364
388
  source = "registry+https://github.com/rust-lang/crates.io-index"
365
- checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
389
+ checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
390
+ dependencies = [
391
+ "zerocopy",
392
+ ]
366
393
 
367
394
  [[package]]
368
395
  name = "proc-macro2"
369
- version = "1.0.78"
396
+ version = "1.0.86"
370
397
  source = "registry+https://github.com/rust-lang/crates.io-index"
371
- checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
398
+ checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
372
399
  dependencies = [
373
400
  "unicode-ident",
374
401
  ]
375
402
 
376
403
  [[package]]
377
404
  name = "quote"
378
- version = "1.0.35"
405
+ version = "1.0.37"
379
406
  source = "registry+https://github.com/rust-lang/crates.io-index"
380
- checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
407
+ checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
381
408
  dependencies = [
382
409
  "proc-macro2",
383
410
  ]
@@ -414,18 +441,18 @@ dependencies = [
414
441
 
415
442
  [[package]]
416
443
  name = "rb-sys"
417
- version = "0.9.87"
444
+ version = "0.9.105"
418
445
  source = "registry+https://github.com/rust-lang/crates.io-index"
419
- checksum = "225103e3d69bbfe8831f9fd0d2461335f3a9dd06aa6e88bcb6d6970383494d06"
446
+ checksum = "4b3a1f3ce8e7c36d777d52fe7a99039fe4fea7c8ec355a4c4f3a17f92a14029f"
420
447
  dependencies = [
421
448
  "rb-sys-build",
422
449
  ]
423
450
 
424
451
  [[package]]
425
452
  name = "rb-sys-build"
426
- version = "0.9.87"
453
+ version = "0.9.105"
427
454
  source = "registry+https://github.com/rust-lang/crates.io-index"
428
- checksum = "bacce8095a5167d5ede618bbd9353e9d9e2f32ddaf54be911106f0ee6baacf09"
455
+ checksum = "3e6b246c29c0809e1cbe60a1ba9e093da72a4676d02adc68469297d1e589bbf0"
429
456
  dependencies = [
430
457
  "bindgen",
431
458
  "lazy_static",
@@ -443,19 +470,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
443
470
  checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
444
471
 
445
472
  [[package]]
446
- name = "redox_syscall"
447
- version = "0.4.1"
473
+ name = "rb-sys-env"
474
+ version = "0.2.1"
448
475
  source = "registry+https://github.com/rust-lang/crates.io-index"
449
- checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
450
- dependencies = [
451
- "bitflags 1.3.2",
452
- ]
476
+ checksum = "5b0412803f8fea126e8f500d8eb6d5394a983517888a790254f4190e9b16a7a5"
453
477
 
454
478
  [[package]]
455
479
  name = "regex"
456
- version = "1.10.3"
480
+ version = "1.11.0"
457
481
  source = "registry+https://github.com/rust-lang/crates.io-index"
458
- checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
482
+ checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8"
459
483
  dependencies = [
460
484
  "aho-corasick",
461
485
  "memchr",
@@ -465,9 +489,9 @@ dependencies = [
465
489
 
466
490
  [[package]]
467
491
  name = "regex-automata"
468
- version = "0.4.4"
492
+ version = "0.4.8"
469
493
  source = "registry+https://github.com/rust-lang/crates.io-index"
470
- checksum = "3b7fa1134405e2ec9353fd416b17f8dacd46c473d7d3fd1cf202706a14eb792a"
494
+ checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3"
471
495
  dependencies = [
472
496
  "aho-corasick",
473
497
  "memchr",
@@ -476,9 +500,9 @@ dependencies = [
476
500
 
477
501
  [[package]]
478
502
  name = "regex-syntax"
479
- version = "0.8.2"
503
+ version = "0.8.5"
480
504
  source = "registry+https://github.com/rust-lang/crates.io-index"
481
- checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
505
+ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
482
506
 
483
507
  [[package]]
484
508
  name = "rustc-hash"
@@ -488,11 +512,11 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
488
512
 
489
513
  [[package]]
490
514
  name = "rustix"
491
- version = "0.38.30"
515
+ version = "0.38.37"
492
516
  source = "registry+https://github.com/rust-lang/crates.io-index"
493
- checksum = "322394588aaf33c24007e8bb3238ee3e4c5c09c084ab32bc73890b99ff326bca"
517
+ checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
494
518
  dependencies = [
495
- "bitflags 2.4.2",
519
+ "bitflags 2.6.0",
496
520
  "errno",
497
521
  "libc",
498
522
  "linux-raw-sys",
@@ -501,9 +525,9 @@ dependencies = [
501
525
 
502
526
  [[package]]
503
527
  name = "ryu"
504
- version = "1.0.16"
528
+ version = "1.0.18"
505
529
  source = "registry+https://github.com/rust-lang/crates.io-index"
506
- checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
530
+ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
507
531
 
508
532
  [[package]]
509
533
  name = "seq-macro"
@@ -513,18 +537,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
513
537
 
514
538
  [[package]]
515
539
  name = "serde"
516
- version = "1.0.195"
540
+ version = "1.0.210"
517
541
  source = "registry+https://github.com/rust-lang/crates.io-index"
518
- checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02"
542
+ checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
519
543
  dependencies = [
520
544
  "serde_derive",
521
545
  ]
522
546
 
523
547
  [[package]]
524
548
  name = "serde_derive"
525
- version = "1.0.195"
549
+ version = "1.0.210"
526
550
  source = "registry+https://github.com/rust-lang/crates.io-index"
527
- checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c"
551
+ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
528
552
  dependencies = [
529
553
  "proc-macro2",
530
554
  "quote",
@@ -533,11 +557,12 @@ dependencies = [
533
557
 
534
558
  [[package]]
535
559
  name = "serde_json"
536
- version = "1.0.111"
560
+ version = "1.0.128"
537
561
  source = "registry+https://github.com/rust-lang/crates.io-index"
538
- checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4"
562
+ checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
539
563
  dependencies = [
540
564
  "itoa",
565
+ "memchr",
541
566
  "ryu",
542
567
  "serde",
543
568
  ]
@@ -567,18 +592,18 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
567
592
 
568
593
  [[package]]
569
594
  name = "smallvec"
570
- version = "1.13.1"
595
+ version = "1.13.2"
571
596
  source = "registry+https://github.com/rust-lang/crates.io-index"
572
- checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
597
+ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
573
598
  dependencies = [
574
599
  "serde",
575
600
  ]
576
601
 
577
602
  [[package]]
578
603
  name = "syn"
579
- version = "2.0.48"
604
+ version = "2.0.79"
580
605
  source = "registry+https://github.com/rust-lang/crates.io-index"
581
- checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
606
+ checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590"
582
607
  dependencies = [
583
608
  "proc-macro2",
584
609
  "quote",
@@ -587,31 +612,31 @@ dependencies = [
587
612
 
588
613
  [[package]]
589
614
  name = "tempfile"
590
- version = "3.9.0"
615
+ version = "3.13.0"
591
616
  source = "registry+https://github.com/rust-lang/crates.io-index"
592
- checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa"
617
+ checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b"
593
618
  dependencies = [
594
619
  "cfg-if",
595
620
  "fastrand",
596
- "redox_syscall",
621
+ "once_cell",
597
622
  "rustix",
598
- "windows-sys 0.52.0",
623
+ "windows-sys 0.59.0",
599
624
  ]
600
625
 
601
626
  [[package]]
602
627
  name = "thiserror"
603
- version = "1.0.56"
628
+ version = "1.0.64"
604
629
  source = "registry+https://github.com/rust-lang/crates.io-index"
605
- checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad"
630
+ checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
606
631
  dependencies = [
607
632
  "thiserror-impl",
608
633
  ]
609
634
 
610
635
  [[package]]
611
636
  name = "thiserror-impl"
612
- version = "1.0.56"
637
+ version = "1.0.64"
613
638
  source = "registry+https://github.com/rust-lang/crates.io-index"
614
- checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471"
639
+ checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
615
640
  dependencies = [
616
641
  "proc-macro2",
617
642
  "quote",
@@ -626,15 +651,15 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
626
651
 
627
652
  [[package]]
628
653
  name = "unicode-ident"
629
- version = "1.0.12"
654
+ version = "1.0.13"
630
655
  source = "registry+https://github.com/rust-lang/crates.io-index"
631
- checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
656
+ checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
632
657
 
633
658
  [[package]]
634
659
  name = "version_check"
635
- version = "0.9.4"
660
+ version = "0.9.5"
636
661
  source = "registry+https://github.com/rust-lang/crates.io-index"
637
- checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
662
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
638
663
 
639
664
  [[package]]
640
665
  name = "wasi"
@@ -642,152 +667,103 @@ version = "0.11.0+wasi-snapshot-preview1"
642
667
  source = "registry+https://github.com/rust-lang/crates.io-index"
643
668
  checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
644
669
 
645
- [[package]]
646
- name = "windows-sys"
647
- version = "0.48.0"
648
- source = "registry+https://github.com/rust-lang/crates.io-index"
649
- checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
650
- dependencies = [
651
- "windows-targets 0.48.5",
652
- ]
653
-
654
670
  [[package]]
655
671
  name = "windows-sys"
656
672
  version = "0.52.0"
657
673
  source = "registry+https://github.com/rust-lang/crates.io-index"
658
674
  checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
659
675
  dependencies = [
660
- "windows-targets 0.52.0",
676
+ "windows-targets",
661
677
  ]
662
678
 
663
679
  [[package]]
664
- name = "windows-targets"
665
- version = "0.48.5"
680
+ name = "windows-sys"
681
+ version = "0.59.0"
666
682
  source = "registry+https://github.com/rust-lang/crates.io-index"
667
- checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
683
+ checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
668
684
  dependencies = [
669
- "windows_aarch64_gnullvm 0.48.5",
670
- "windows_aarch64_msvc 0.48.5",
671
- "windows_i686_gnu 0.48.5",
672
- "windows_i686_msvc 0.48.5",
673
- "windows_x86_64_gnu 0.48.5",
674
- "windows_x86_64_gnullvm 0.48.5",
675
- "windows_x86_64_msvc 0.48.5",
685
+ "windows-targets",
676
686
  ]
677
687
 
678
688
  [[package]]
679
689
  name = "windows-targets"
680
- version = "0.52.0"
690
+ version = "0.52.6"
681
691
  source = "registry+https://github.com/rust-lang/crates.io-index"
682
- checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
692
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
683
693
  dependencies = [
684
- "windows_aarch64_gnullvm 0.52.0",
685
- "windows_aarch64_msvc 0.52.0",
686
- "windows_i686_gnu 0.52.0",
687
- "windows_i686_msvc 0.52.0",
688
- "windows_x86_64_gnu 0.52.0",
689
- "windows_x86_64_gnullvm 0.52.0",
690
- "windows_x86_64_msvc 0.52.0",
694
+ "windows_aarch64_gnullvm",
695
+ "windows_aarch64_msvc",
696
+ "windows_i686_gnu",
697
+ "windows_i686_gnullvm",
698
+ "windows_i686_msvc",
699
+ "windows_x86_64_gnu",
700
+ "windows_x86_64_gnullvm",
701
+ "windows_x86_64_msvc",
691
702
  ]
692
703
 
693
704
  [[package]]
694
705
  name = "windows_aarch64_gnullvm"
695
- version = "0.48.5"
696
- source = "registry+https://github.com/rust-lang/crates.io-index"
697
- checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
698
-
699
- [[package]]
700
- name = "windows_aarch64_gnullvm"
701
- version = "0.52.0"
702
- source = "registry+https://github.com/rust-lang/crates.io-index"
703
- checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
704
-
705
- [[package]]
706
- name = "windows_aarch64_msvc"
707
- version = "0.48.5"
706
+ version = "0.52.6"
708
707
  source = "registry+https://github.com/rust-lang/crates.io-index"
709
- checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
708
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
710
709
 
711
710
  [[package]]
712
711
  name = "windows_aarch64_msvc"
713
- version = "0.52.0"
712
+ version = "0.52.6"
714
713
  source = "registry+https://github.com/rust-lang/crates.io-index"
715
- checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
714
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
716
715
 
717
716
  [[package]]
718
717
  name = "windows_i686_gnu"
719
- version = "0.48.5"
718
+ version = "0.52.6"
720
719
  source = "registry+https://github.com/rust-lang/crates.io-index"
721
- checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
720
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
722
721
 
723
722
  [[package]]
724
- name = "windows_i686_gnu"
725
- version = "0.52.0"
723
+ name = "windows_i686_gnullvm"
724
+ version = "0.52.6"
726
725
  source = "registry+https://github.com/rust-lang/crates.io-index"
727
- checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
726
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
728
727
 
729
728
  [[package]]
730
729
  name = "windows_i686_msvc"
731
- version = "0.48.5"
730
+ version = "0.52.6"
732
731
  source = "registry+https://github.com/rust-lang/crates.io-index"
733
- checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
734
-
735
- [[package]]
736
- name = "windows_i686_msvc"
737
- version = "0.52.0"
738
- source = "registry+https://github.com/rust-lang/crates.io-index"
739
- checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
740
-
741
- [[package]]
742
- name = "windows_x86_64_gnu"
743
- version = "0.48.5"
744
- source = "registry+https://github.com/rust-lang/crates.io-index"
745
- checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
732
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
746
733
 
747
734
  [[package]]
748
735
  name = "windows_x86_64_gnu"
749
- version = "0.52.0"
736
+ version = "0.52.6"
750
737
  source = "registry+https://github.com/rust-lang/crates.io-index"
751
- checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
738
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
752
739
 
753
740
  [[package]]
754
741
  name = "windows_x86_64_gnullvm"
755
- version = "0.48.5"
742
+ version = "0.52.6"
756
743
  source = "registry+https://github.com/rust-lang/crates.io-index"
757
- checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
758
-
759
- [[package]]
760
- name = "windows_x86_64_gnullvm"
761
- version = "0.52.0"
762
- source = "registry+https://github.com/rust-lang/crates.io-index"
763
- checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
744
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
764
745
 
765
746
  [[package]]
766
747
  name = "windows_x86_64_msvc"
767
- version = "0.48.5"
768
- source = "registry+https://github.com/rust-lang/crates.io-index"
769
- checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
770
-
771
- [[package]]
772
- name = "windows_x86_64_msvc"
773
- version = "0.52.0"
748
+ version = "0.52.6"
774
749
  source = "registry+https://github.com/rust-lang/crates.io-index"
775
- checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
750
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
776
751
 
777
752
  [[package]]
778
753
  name = "zerocopy"
779
- version = "0.7.32"
754
+ version = "0.7.35"
780
755
  source = "registry+https://github.com/rust-lang/crates.io-index"
781
- checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be"
756
+ checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
782
757
  dependencies = [
758
+ "byteorder",
783
759
  "zerocopy-derive",
784
760
  ]
785
761
 
786
762
  [[package]]
787
763
  name = "zerocopy-derive"
788
- version = "0.7.32"
764
+ version = "0.7.35"
789
765
  source = "registry+https://github.com/rust-lang/crates.io-index"
790
- checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6"
766
+ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
791
767
  dependencies = [
792
768
  "proc-macro2",
793
769
  "quote",
@@ -8,11 +8,11 @@ edition = "2021"
8
8
  [dependencies]
9
9
  hashbrown = "0.14"
10
10
  libc = "0.2"
11
- magnus = { version = "0.6", features = ["rb-sys"] }
11
+ magnus = { version = "0.7", features = ["rb-sys"] }
12
12
  memmap2 = "0.9"
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"] }
15
+ rb-sys = { version = "0.9.105", features = ["stable-api-compiled-fallback"] }
16
16
  serde = { version = "1.0", features = ["derive"] }
17
17
  serde_json = { version = "1.0", features = ["raw_value"] }
18
18
  smallvec = { version = "1.10", features = ["serde"] }
@@ -22,13 +22,13 @@ thiserror = "1.0"
22
22
  bstr = "1.9"
23
23
  indoc = "2.0"
24
24
  # We need the `embed` feature to run tests, but this triggers failures when building as a Gem.
25
- magnus = { version = "0.6", features = ["rb-sys","embed"] }
25
+ magnus = { version = "0.7", features = ["rb-sys","embed"] }
26
26
  rand = "0.8"
27
27
  sha2 = "0.10"
28
28
  tempfile = "3.9"
29
29
 
30
30
  [build-dependencies]
31
- rb-sys-env = "0.1"
31
+ rb-sys-env = "0.2.1"
32
32
 
33
33
  [lib]
34
34
  # Integration tests won't work if crate is only `cdylib`.
@@ -25,11 +25,18 @@ use inner::InnerMmap;
25
25
 
26
26
  mod inner;
27
27
 
28
- /// The Ruby `STR_NOEMBED` flag, aka `FL_USER1`.
29
- const STR_NOEMBED: c_ulong = 1 << (13);
28
+ #[cfg(ruby_gt_3_3)]
29
+ /// The Ruby `STR_SHARED` flag, aka `FL_USER0`.
30
+ /// This was changed from `FL_USER2` in https://github.com/ruby/ruby/commit/6deeec5d459ecff5ec4628523b14ac7379fd942e.
31
+ const STR_SHARED: c_ulong = 1 << (12);
32
+
33
+ #[cfg(ruby_lte_3_3)]
30
34
  /// The Ruby `STR_SHARED` flag, aka `FL_USER2`.
31
35
  const STR_SHARED: c_ulong = 1 << (14);
32
36
 
37
+ /// The Ruby `STR_NOEMBED` flag, aka `FL_USER1`.
38
+ const STR_NOEMBED: c_ulong = 1 << (13);
39
+
33
40
  /// A Rust struct wrapped in a Ruby object, providing access to a memory-mapped
34
41
  /// file used to store, update, and read out Prometheus metrics.
35
42
  ///
@@ -390,8 +397,10 @@ impl MmapedFile {
390
397
  let new_len = self.inner(|inner| util::cast_chk::<_, c_long>(inner.len(), "mmap len"))?;
391
398
 
392
399
  // Iterate over the values of the `WeakMap`.
393
- for val in tracker.enumeratorize("each_value", ()) {
394
- let rb_string = val?;
400
+ for pair in tracker.enumeratorize("each_pair", ()) {
401
+ let rpair = magnus::RArray::try_convert(pair?)?;
402
+ let rb_string: Value = rpair.entry(1)?;
403
+
395
404
  let str = RString::from_value(rb_string)
396
405
  .ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
397
406
 
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  module Prometheus
2
2
  module Client
3
- VERSION = '1.1.1'.freeze
3
+ VERSION = '1.1.2'.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.1.1
4
+ version: 1.1.2
5
5
  platform: x86_64-darwin
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: 2024-01-30 00:00:00.000000000 Z
14
+ date: 2024-12-31 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb_sys
@@ -27,6 +27,20 @@ dependencies:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
29
  version: 0.9.86
30
+ - !ruby/object:Gem::Dependency
31
+ name: base64
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
30
44
  - !ruby/object:Gem::Dependency
31
45
  name: fuzzbert
32
46
  requirement: !ruby/object:Gem::Requirement
@@ -109,14 +123,14 @@ dependencies:
109
123
  requirements:
110
124
  - - "~>"
111
125
  - !ruby/object:Gem::Version
112
- version: 0.16.2
126
+ version: '1.6'
113
127
  type: :development
114
128
  prerelease: false
115
129
  version_requirements: !ruby/object:Gem::Requirement
116
130
  requirements:
117
131
  - - "~>"
118
132
  - !ruby/object:Gem::Version
119
- version: 0.16.2
133
+ version: '1.6'
120
134
  description:
121
135
  email:
122
136
  - ts@soundcloud.com
@@ -150,7 +164,6 @@ files:
150
164
  - lib/3.0/fast_mmaped_file_rs.bundle
151
165
  - lib/3.1/fast_mmaped_file_rs.bundle
152
166
  - lib/3.2/fast_mmaped_file_rs.bundle
153
- - lib/3.3/fast_mmaped_file_rs.bundle
154
167
  - lib/prometheus.rb
155
168
  - lib/prometheus/client.rb
156
169
  - lib/prometheus/client/configuration.rb
@@ -195,14 +208,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
208
  version: '2.7'
196
209
  - - "<"
197
210
  - !ruby/object:Gem::Version
198
- version: 3.4.dev
211
+ version: 3.3.dev
199
212
  required_rubygems_version: !ruby/object:Gem::Requirement
200
213
  requirements:
201
214
  - - ">="
202
215
  - !ruby/object:Gem::Version
203
216
  version: '0'
204
217
  requirements: []
205
- rubygems_version: 3.4.4
218
+ rubygems_version: 3.5.23
206
219
  signing_key:
207
220
  specification_version: 4
208
221
  summary: A suite of instrumentation metric primitives that can be exposed through
Binary file