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 +4 -4
- data/ext/fast_mmaped_file_rs/Cargo.lock +168 -192
- data/ext/fast_mmaped_file_rs/Cargo.toml +4 -4
- data/ext/fast_mmaped_file_rs/src/mmap.rs +13 -4
- data/lib/2.7/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.0/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.1/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.2/fast_mmaped_file_rs.bundle +0 -0
- data/lib/prometheus/client/version.rb +1 -1
- metadata +20 -7
- data/lib/3.3/fast_mmaped_file_rs.bundle +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92f6d777a4fdde4b3f870caee365b46cbca08432e81db437223511ed2f53b03d
|
4
|
+
data.tar.gz: c035a4f1407e0e2aa820409502f221b03d81d94feea74ab1116468ded550edf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
version = "0.8.11"
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
9
|
-
checksum = "
|
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.
|
19
|
+
version = "1.1.3"
|
20
20
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
21
|
-
checksum = "
|
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.
|
28
|
+
version = "0.2.18"
|
29
29
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
30
|
-
checksum = "
|
30
|
+
checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
|
31
31
|
|
32
32
|
[[package]]
|
33
33
|
name = "autocfg"
|
34
|
-
version = "1.
|
34
|
+
version = "1.4.0"
|
35
35
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
36
|
-
checksum = "
|
36
|
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
37
37
|
|
38
38
|
[[package]]
|
39
39
|
name = "bindgen"
|
40
|
-
version = "0.69.
|
40
|
+
version = "0.69.4"
|
41
41
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
42
|
-
checksum = "
|
42
|
+
checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
|
43
43
|
dependencies = [
|
44
|
-
"bitflags 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.
|
66
|
+
version = "2.6.0"
|
67
67
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
68
|
-
checksum = "
|
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.
|
81
|
+
version = "1.10.0"
|
82
82
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
83
|
-
checksum = "
|
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.
|
113
|
+
version = "1.8.1"
|
108
114
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
109
|
-
checksum = "
|
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.
|
124
|
+
version = "0.2.14"
|
119
125
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
120
|
-
checksum = "
|
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.
|
159
|
+
version = "0.3.9"
|
148
160
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
149
|
-
checksum = "
|
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.
|
191
|
+
version = "2.1.1"
|
180
192
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
181
|
-
checksum = "
|
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.
|
207
|
+
version = "0.2.15"
|
196
208
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
197
|
-
checksum = "
|
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.
|
224
|
+
version = "0.14.5"
|
213
225
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
214
|
-
checksum = "
|
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.
|
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 = "
|
242
|
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
243
|
+
dependencies = [
|
244
|
+
"either",
|
245
|
+
]
|
225
246
|
|
226
247
|
[[package]]
|
227
248
|
name = "itoa"
|
228
|
-
version = "1.0.
|
249
|
+
version = "1.0.11"
|
229
250
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
230
|
-
checksum = "
|
251
|
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
231
252
|
|
232
253
|
[[package]]
|
233
254
|
name = "lazy_static"
|
234
|
-
version = "1.
|
255
|
+
version = "1.5.0"
|
235
256
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
236
|
-
checksum = "
|
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.
|
267
|
+
version = "0.2.159"
|
247
268
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
248
|
-
checksum = "
|
269
|
+
checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
|
249
270
|
|
250
271
|
[[package]]
|
251
272
|
name = "libloading"
|
252
|
-
version = "0.8.
|
273
|
+
version = "0.8.5"
|
253
274
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
254
|
-
checksum = "
|
275
|
+
checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
|
255
276
|
dependencies = [
|
256
277
|
"cfg-if",
|
257
|
-
"windows-
|
278
|
+
"windows-targets",
|
258
279
|
]
|
259
280
|
|
260
281
|
[[package]]
|
261
282
|
name = "linux-raw-sys"
|
262
|
-
version = "0.4.
|
283
|
+
version = "0.4.14"
|
263
284
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
264
|
-
checksum = "
|
285
|
+
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
265
286
|
|
266
287
|
[[package]]
|
267
288
|
name = "magnus"
|
268
|
-
version = "0.
|
289
|
+
version = "0.7.1"
|
269
290
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
270
|
-
checksum = "
|
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.
|
312
|
+
version = "2.7.4"
|
292
313
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
293
|
-
checksum = "
|
314
|
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
294
315
|
|
295
316
|
[[package]]
|
296
317
|
name = "memmap2"
|
297
|
-
version = "0.9.
|
318
|
+
version = "0.9.5"
|
298
319
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
299
|
-
checksum = "
|
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.
|
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 = "
|
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.
|
387
|
+
version = "0.2.20"
|
364
388
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
365
|
-
checksum = "
|
389
|
+
checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
|
390
|
+
dependencies = [
|
391
|
+
"zerocopy",
|
392
|
+
]
|
366
393
|
|
367
394
|
[[package]]
|
368
395
|
name = "proc-macro2"
|
369
|
-
version = "1.0.
|
396
|
+
version = "1.0.86"
|
370
397
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
371
|
-
checksum = "
|
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.
|
405
|
+
version = "1.0.37"
|
379
406
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
380
|
-
checksum = "
|
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.
|
444
|
+
version = "0.9.105"
|
418
445
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
419
|
-
checksum = "
|
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.
|
453
|
+
version = "0.9.105"
|
427
454
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
428
|
-
checksum = "
|
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 = "
|
447
|
-
version = "0.
|
473
|
+
name = "rb-sys-env"
|
474
|
+
version = "0.2.1"
|
448
475
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
449
|
-
checksum = "
|
450
|
-
dependencies = [
|
451
|
-
"bitflags 1.3.2",
|
452
|
-
]
|
476
|
+
checksum = "5b0412803f8fea126e8f500d8eb6d5394a983517888a790254f4190e9b16a7a5"
|
453
477
|
|
454
478
|
[[package]]
|
455
479
|
name = "regex"
|
456
|
-
version = "1.
|
480
|
+
version = "1.11.0"
|
457
481
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
458
|
-
checksum = "
|
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.
|
492
|
+
version = "0.4.8"
|
469
493
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
470
|
-
checksum = "
|
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.
|
503
|
+
version = "0.8.5"
|
480
504
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
481
|
-
checksum = "
|
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.
|
515
|
+
version = "0.38.37"
|
492
516
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
493
|
-
checksum = "
|
517
|
+
checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
|
494
518
|
dependencies = [
|
495
|
-
"bitflags 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.
|
528
|
+
version = "1.0.18"
|
505
529
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
506
|
-
checksum = "
|
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.
|
540
|
+
version = "1.0.210"
|
517
541
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
518
|
-
checksum = "
|
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.
|
549
|
+
version = "1.0.210"
|
526
550
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
527
|
-
checksum = "
|
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.
|
560
|
+
version = "1.0.128"
|
537
561
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
538
|
-
checksum = "
|
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.
|
595
|
+
version = "1.13.2"
|
571
596
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
572
|
-
checksum = "
|
597
|
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
573
598
|
dependencies = [
|
574
599
|
"serde",
|
575
600
|
]
|
576
601
|
|
577
602
|
[[package]]
|
578
603
|
name = "syn"
|
579
|
-
version = "2.0.
|
604
|
+
version = "2.0.79"
|
580
605
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
581
|
-
checksum = "
|
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.
|
615
|
+
version = "3.13.0"
|
591
616
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
592
|
-
checksum = "
|
617
|
+
checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b"
|
593
618
|
dependencies = [
|
594
619
|
"cfg-if",
|
595
620
|
"fastrand",
|
596
|
-
"
|
621
|
+
"once_cell",
|
597
622
|
"rustix",
|
598
|
-
"windows-sys 0.
|
623
|
+
"windows-sys 0.59.0",
|
599
624
|
]
|
600
625
|
|
601
626
|
[[package]]
|
602
627
|
name = "thiserror"
|
603
|
-
version = "1.0.
|
628
|
+
version = "1.0.64"
|
604
629
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
605
|
-
checksum = "
|
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.
|
637
|
+
version = "1.0.64"
|
613
638
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
614
|
-
checksum = "
|
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.
|
654
|
+
version = "1.0.13"
|
630
655
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
631
|
-
checksum = "
|
656
|
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
632
657
|
|
633
658
|
[[package]]
|
634
659
|
name = "version_check"
|
635
|
-
version = "0.9.
|
660
|
+
version = "0.9.5"
|
636
661
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
637
|
-
checksum = "
|
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
|
676
|
+
"windows-targets",
|
661
677
|
]
|
662
678
|
|
663
679
|
[[package]]
|
664
|
-
name = "windows-
|
665
|
-
version = "0.
|
680
|
+
name = "windows-sys"
|
681
|
+
version = "0.59.0"
|
666
682
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
667
|
-
checksum = "
|
683
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
668
684
|
dependencies = [
|
669
|
-
"
|
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.
|
690
|
+
version = "0.52.6"
|
681
691
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
682
|
-
checksum = "
|
692
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
683
693
|
dependencies = [
|
684
|
-
"windows_aarch64_gnullvm
|
685
|
-
"windows_aarch64_msvc
|
686
|
-
"windows_i686_gnu
|
687
|
-
"
|
688
|
-
"
|
689
|
-
"
|
690
|
-
"
|
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.
|
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 = "
|
708
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
710
709
|
|
711
710
|
[[package]]
|
712
711
|
name = "windows_aarch64_msvc"
|
713
|
-
version = "0.52.
|
712
|
+
version = "0.52.6"
|
714
713
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
715
|
-
checksum = "
|
714
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
716
715
|
|
717
716
|
[[package]]
|
718
717
|
name = "windows_i686_gnu"
|
719
|
-
version = "0.
|
718
|
+
version = "0.52.6"
|
720
719
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
721
|
-
checksum = "
|
720
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
722
721
|
|
723
722
|
[[package]]
|
724
|
-
name = "
|
725
|
-
version = "0.52.
|
723
|
+
name = "windows_i686_gnullvm"
|
724
|
+
version = "0.52.6"
|
726
725
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
727
|
-
checksum = "
|
726
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
728
727
|
|
729
728
|
[[package]]
|
730
729
|
name = "windows_i686_msvc"
|
731
|
-
version = "0.
|
730
|
+
version = "0.52.6"
|
732
731
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
733
|
-
checksum = "
|
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.
|
736
|
+
version = "0.52.6"
|
750
737
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
751
|
-
checksum = "
|
738
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
752
739
|
|
753
740
|
[[package]]
|
754
741
|
name = "windows_x86_64_gnullvm"
|
755
|
-
version = "0.
|
742
|
+
version = "0.52.6"
|
756
743
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
757
|
-
checksum = "
|
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.
|
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 = "
|
750
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
776
751
|
|
777
752
|
[[package]]
|
778
753
|
name = "zerocopy"
|
779
|
-
version = "0.7.
|
754
|
+
version = "0.7.35"
|
780
755
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
781
|
-
checksum = "
|
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.
|
764
|
+
version = "0.7.35"
|
789
765
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
790
|
-
checksum = "
|
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.
|
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.
|
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
|
-
|
29
|
-
|
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
|
394
|
-
let
|
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
|
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.
|
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-
|
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:
|
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:
|
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.
|
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.
|
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
|