safetensors 0.2.2-x86_64-linux → 0.3.0-x86_64-linux

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: a9bb2a6028c749e0afbb39b2456b11a89c6721a7b34ef1000649a308b484f523
4
- data.tar.gz: 6b9d63e1bde1d4b4b1ec1fece86af997e3b2c3b5bcefbdec7d84ab9619a7a581
3
+ metadata.gz: 2fe247d9563b7733d2307fa0d6a59ebdf6c34fe0a36e1e33f19aa47aebf2f5ac
4
+ data.tar.gz: 6d29d40b1a9b9d5dd268a614952dbf6e82ddee1fd3317d5c7fe8c7dc7f218eaf
5
5
  SHA512:
6
- metadata.gz: fb1ca5cf934d80f6a0b5e17c678628ce37d308df34ded6951528e62642b138afefadaf9c2940777d81e527dcea93b04a60d005585de0fc3f18496a342ac0ae1d
7
- data.tar.gz: 03c561ff0442bedb65a3beb44c8f498ba5c1bee63396230d6dbe4bebd1879f37ac2963a445efdb71dc6273659e294ebf12846237dd34ea181b7dca50a988b7ad
6
+ metadata.gz: 608fe686d7b8361fa7caf9313c86c8208dd6599d0c01400c74bca468c6eadac1d052e37d92f64ba5b1b4ae6fad9df5240c52f933f059d253414b7da88012f124
7
+ data.tar.gz: db9dc287f1d5a8bcb206c3633102be481b4a16721ccc8baf9a93a7410500f12bf38e030890e0fd2d6860c4a02d55d6bf0e9658fd8da5cc56929ca2776d743dc3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.3.0 (2026-06-09)
2
+
3
+ - Updated Safetensors to 0.8.0
4
+ - Added support for releasing GVL
5
+ - Dropped support for Ruby < 3.3
6
+
1
7
  ## 0.2.2 (2026-01-05)
2
8
 
3
9
  - Added support for Ruby 4.0
data/Cargo.lock CHANGED
@@ -81,12 +81,40 @@ version = "1.0.2"
81
81
  source = "registry+https://github.com/rust-lang/crates.io-index"
82
82
  checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
83
83
 
84
+ [[package]]
85
+ name = "errno"
86
+ version = "0.3.14"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
89
+ dependencies = [
90
+ "libc",
91
+ "windows-sys",
92
+ ]
93
+
94
+ [[package]]
95
+ name = "fastrand"
96
+ version = "2.4.1"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
99
+
84
100
  [[package]]
85
101
  name = "foldhash"
86
102
  version = "0.2.0"
87
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
88
104
  checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
89
105
 
106
+ [[package]]
107
+ name = "getrandom"
108
+ version = "0.3.4"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
111
+ dependencies = [
112
+ "cfg-if",
113
+ "libc",
114
+ "r-efi",
115
+ "wasip2",
116
+ ]
117
+
90
118
  [[package]]
91
119
  name = "glob"
92
120
  version = "0.3.2"
@@ -148,6 +176,12 @@ dependencies = [
148
176
  "windows-targets",
149
177
  ]
150
178
 
179
+ [[package]]
180
+ name = "linux-raw-sys"
181
+ version = "0.11.0"
182
+ source = "registry+https://github.com/rust-lang/crates.io-index"
183
+ checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
184
+
151
185
  [[package]]
152
186
  name = "magnus"
153
187
  version = "0.8.1"
@@ -179,9 +213,9 @@ checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
179
213
 
180
214
  [[package]]
181
215
  name = "memmap2"
182
- version = "0.5.10"
216
+ version = "0.9.10"
183
217
  source = "registry+https://github.com/rust-lang/crates.io-index"
184
- checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
218
+ checksum = "714098028fe011992e1c3962653c96b2d578c4b4bce9036e15ff220319b1e0e3"
185
219
  dependencies = [
186
220
  "libc",
187
221
  ]
@@ -202,6 +236,12 @@ dependencies = [
202
236
  "minimal-lexical",
203
237
  ]
204
238
 
239
+ [[package]]
240
+ name = "once_cell"
241
+ version = "1.21.4"
242
+ source = "registry+https://github.com/rust-lang/crates.io-index"
243
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
244
+
205
245
  [[package]]
206
246
  name = "proc-macro2"
207
247
  version = "1.0.95"
@@ -220,6 +260,12 @@ dependencies = [
220
260
  "proc-macro2",
221
261
  ]
222
262
 
263
+ [[package]]
264
+ name = "r-efi"
265
+ version = "5.3.0"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
268
+
223
269
  [[package]]
224
270
  name = "rb-sys"
225
271
  version = "0.9.124"
@@ -285,6 +331,19 @@ version = "1.1.0"
285
331
  source = "registry+https://github.com/rust-lang/crates.io-index"
286
332
  checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
287
333
 
334
+ [[package]]
335
+ name = "rustix"
336
+ version = "1.1.2"
337
+ source = "registry+https://github.com/rust-lang/crates.io-index"
338
+ checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
339
+ dependencies = [
340
+ "bitflags",
341
+ "errno",
342
+ "libc",
343
+ "linux-raw-sys",
344
+ "windows-sys",
345
+ ]
346
+
288
347
  [[package]]
289
348
  name = "ryu"
290
349
  version = "1.0.20"
@@ -293,21 +352,24 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
293
352
 
294
353
  [[package]]
295
354
  name = "safetensors"
296
- version = "0.7.0"
355
+ version = "0.8.0"
297
356
  source = "registry+https://github.com/rust-lang/crates.io-index"
298
- checksum = "675656c1eabb620b921efea4f9199f97fc86e36dd6ffd1fbbe48d0f59a4987f5"
357
+ checksum = "79b079b829cb27a1c3c374341345ed2e8b2c0c839034522cee576c140bd7f846"
299
358
  dependencies = [
300
359
  "hashbrown",
360
+ "libc",
301
361
  "serde",
302
362
  "serde_json",
363
+ "tempfile",
303
364
  ]
304
365
 
305
366
  [[package]]
306
367
  name = "safetensors-ruby"
307
- version = "0.2.2"
368
+ version = "0.3.0"
308
369
  dependencies = [
309
370
  "magnus",
310
371
  "memmap2",
372
+ "rb-sys",
311
373
  "safetensors",
312
374
  "serde_json",
313
375
  ]
@@ -373,12 +435,49 @@ dependencies = [
373
435
  "unicode-ident",
374
436
  ]
375
437
 
438
+ [[package]]
439
+ name = "tempfile"
440
+ version = "3.23.0"
441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
442
+ checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16"
443
+ dependencies = [
444
+ "fastrand",
445
+ "getrandom",
446
+ "once_cell",
447
+ "rustix",
448
+ "windows-sys",
449
+ ]
450
+
376
451
  [[package]]
377
452
  name = "unicode-ident"
378
453
  version = "1.0.18"
379
454
  source = "registry+https://github.com/rust-lang/crates.io-index"
380
455
  checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
381
456
 
457
+ [[package]]
458
+ name = "wasip2"
459
+ version = "1.0.3+wasi-0.2.9"
460
+ source = "registry+https://github.com/rust-lang/crates.io-index"
461
+ checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6"
462
+ dependencies = [
463
+ "wit-bindgen",
464
+ ]
465
+
466
+ [[package]]
467
+ name = "windows-link"
468
+ version = "0.2.1"
469
+ source = "registry+https://github.com/rust-lang/crates.io-index"
470
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
471
+
472
+ [[package]]
473
+ name = "windows-sys"
474
+ version = "0.61.2"
475
+ source = "registry+https://github.com/rust-lang/crates.io-index"
476
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
477
+ dependencies = [
478
+ "windows-link",
479
+ ]
480
+
382
481
  [[package]]
383
482
  name = "windows-targets"
384
483
  version = "0.53.2"
@@ -442,3 +541,9 @@ name = "windows_x86_64_msvc"
442
541
  version = "0.53.0"
443
542
  source = "registry+https://github.com/rust-lang/crates.io-index"
444
543
  checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
544
+
545
+ [[package]]
546
+ name = "wit-bindgen"
547
+ version = "0.57.1"
548
+ source = "registry+https://github.com/rust-lang/crates.io-index"
549
+ checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"