safetensors 0.1.4-x86_64-linux → 0.2.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: d175b8a1a129c1644be8180c468492bf9c8e7efba0b6a95fac15ebcdcead6aa2
4
- data.tar.gz: 8eb5d2972cc61d2c187c3d69e250700b9a78b1abc1e174fb19484ffcbf60b33d
3
+ metadata.gz: 798efe568df4cc388efdddb3766008695b94c11197a05adf879449cd51fda8ba
4
+ data.tar.gz: 60c60816732fd3ec87f207b6da06346acce900aec226e5b4cfb45caebffa7a95
5
5
  SHA512:
6
- metadata.gz: 46bdf4d26492760b4fc9e8a9a162db06735c1166b0ae54f92bc2131700afb8421acda658cf4608653cb9679b608952f040da93127204548d7c53abeec7ef029a
7
- data.tar.gz: 7c15205ba525264a90d39ac28b841e4e018ef855e20805a05399b97d7979b2fc54ffa816c45d7ea2138704f9461dc7bc8cb7397100c832b7b50fb7f43333e48b
6
+ metadata.gz: daffaac704c4af00eb12121981ef5a783adb90c371ef4dcca526f57b8610a76a5ff3fa5a8420f7eb908ac3202b68bba46528eb6649f96d25f54d5f78c2b09d02
7
+ data.tar.gz: 1e477ecdcdaa6ed77924be42e07dc620157014cc584e476166264492a714478d6afc8394bd4bb3d4de687780bf0e7daee30d08cc9999c4659c86ac15802af9c2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.2.0 (2025-06-23)
2
+
3
+ - Updated Safetensors to 0.6.0
4
+ - Dropped support for Ruby < 3.2
5
+
1
6
  ## 0.1.4 (2025-05-04)
2
7
 
3
8
  - Updated Safetensors to 0.5.3
data/Cargo.lock CHANGED
@@ -33,9 +33,9 @@ dependencies = [
33
33
 
34
34
  [[package]]
35
35
  name = "bitflags"
36
- version = "2.9.0"
36
+ version = "2.9.1"
37
37
  source = "registry+https://github.com/rust-lang/crates.io-index"
38
- checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
38
+ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
39
39
 
40
40
  [[package]]
41
41
  name = "cexpr"
@@ -48,9 +48,9 @@ dependencies = [
48
48
 
49
49
  [[package]]
50
50
  name = "cfg-if"
51
- version = "1.0.0"
51
+ version = "1.0.1"
52
52
  source = "registry+https://github.com/rust-lang/crates.io-index"
53
- checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
53
+ checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
54
54
 
55
55
  [[package]]
56
56
  name = "clang-sys"
@@ -104,15 +104,15 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
104
104
 
105
105
  [[package]]
106
106
  name = "libc"
107
- version = "0.2.172"
107
+ version = "0.2.174"
108
108
  source = "registry+https://github.com/rust-lang/crates.io-index"
109
- checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
109
+ checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
110
110
 
111
111
  [[package]]
112
112
  name = "libloading"
113
- version = "0.8.6"
113
+ version = "0.8.8"
114
114
  source = "registry+https://github.com/rust-lang/crates.io-index"
115
- checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
115
+ checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
116
116
  dependencies = [
117
117
  "cfg-if",
118
118
  "windows-targets",
@@ -143,9 +143,9 @@ dependencies = [
143
143
 
144
144
  [[package]]
145
145
  name = "memchr"
146
- version = "2.7.4"
146
+ version = "2.7.5"
147
147
  source = "registry+https://github.com/rust-lang/crates.io-index"
148
- checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
148
+ checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
149
149
 
150
150
  [[package]]
151
151
  name = "memmap2"
@@ -192,18 +192,18 @@ dependencies = [
192
192
 
193
193
  [[package]]
194
194
  name = "rb-sys"
195
- version = "0.9.111"
195
+ version = "0.9.116"
196
196
  source = "registry+https://github.com/rust-lang/crates.io-index"
197
- checksum = "becea799ce051c16fb140be80f5e7cf781070f99ca099332383c2b17861249af"
197
+ checksum = "7059846f68396df83155779c75336ca24567741cb95256e6308c9fcc370e8dad"
198
198
  dependencies = [
199
199
  "rb-sys-build",
200
200
  ]
201
201
 
202
202
  [[package]]
203
203
  name = "rb-sys-build"
204
- version = "0.9.111"
204
+ version = "0.9.116"
205
205
  source = "registry+https://github.com/rust-lang/crates.io-index"
206
- checksum = "64691175abc704862f60a9ca8ef06174080cc50615f2bf1d4759f46db18b4d29"
206
+ checksum = "ac217510df41b9ffc041573e68d7a02aaff770c49943c7494441c4b224b0ecd0"
207
207
  dependencies = [
208
208
  "bindgen",
209
209
  "lazy_static",
@@ -263,19 +263,19 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
263
263
 
264
264
  [[package]]
265
265
  name = "safetensors"
266
- version = "0.1.4"
266
+ version = "0.2.0"
267
267
  dependencies = [
268
268
  "magnus",
269
269
  "memmap2",
270
- "safetensors 0.5.3",
270
+ "safetensors 0.6.0",
271
271
  "serde_json",
272
272
  ]
273
273
 
274
274
  [[package]]
275
275
  name = "safetensors"
276
- version = "0.5.3"
276
+ version = "0.6.0"
277
277
  source = "registry+https://github.com/rust-lang/crates.io-index"
278
- checksum = "cc0cdb7198d738a111f6df8fef42cb175412c311d0c4ac9126ff4e550ad1a0e8"
278
+ checksum = "617df84b8360fc910a687afe4be1c4660bf7c090d448d2fc27c781e852205f7c"
279
279
  dependencies = [
280
280
  "serde",
281
281
  "serde_json",
@@ -333,9 +333,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
333
333
 
334
334
  [[package]]
335
335
  name = "syn"
336
- version = "2.0.101"
336
+ version = "2.0.104"
337
337
  source = "registry+https://github.com/rust-lang/crates.io-index"
338
- checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
338
+ checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
339
339
  dependencies = [
340
340
  "proc-macro2",
341
341
  "quote",
@@ -350,9 +350,9 @@ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
350
350
 
351
351
  [[package]]
352
352
  name = "windows-targets"
353
- version = "0.52.6"
353
+ version = "0.53.2"
354
354
  source = "registry+https://github.com/rust-lang/crates.io-index"
355
- checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
355
+ checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
356
356
  dependencies = [
357
357
  "windows_aarch64_gnullvm",
358
358
  "windows_aarch64_msvc",
@@ -366,48 +366,48 @@ dependencies = [
366
366
 
367
367
  [[package]]
368
368
  name = "windows_aarch64_gnullvm"
369
- version = "0.52.6"
369
+ version = "0.53.0"
370
370
  source = "registry+https://github.com/rust-lang/crates.io-index"
371
- checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
371
+ checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
372
372
 
373
373
  [[package]]
374
374
  name = "windows_aarch64_msvc"
375
- version = "0.52.6"
375
+ version = "0.53.0"
376
376
  source = "registry+https://github.com/rust-lang/crates.io-index"
377
- checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
377
+ checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
378
378
 
379
379
  [[package]]
380
380
  name = "windows_i686_gnu"
381
- version = "0.52.6"
381
+ version = "0.53.0"
382
382
  source = "registry+https://github.com/rust-lang/crates.io-index"
383
- checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
383
+ checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
384
384
 
385
385
  [[package]]
386
386
  name = "windows_i686_gnullvm"
387
- version = "0.52.6"
387
+ version = "0.53.0"
388
388
  source = "registry+https://github.com/rust-lang/crates.io-index"
389
- checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
389
+ checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
390
390
 
391
391
  [[package]]
392
392
  name = "windows_i686_msvc"
393
- version = "0.52.6"
393
+ version = "0.53.0"
394
394
  source = "registry+https://github.com/rust-lang/crates.io-index"
395
- checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
395
+ checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
396
396
 
397
397
  [[package]]
398
398
  name = "windows_x86_64_gnu"
399
- version = "0.52.6"
399
+ version = "0.53.0"
400
400
  source = "registry+https://github.com/rust-lang/crates.io-index"
401
- checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
401
+ checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
402
402
 
403
403
  [[package]]
404
404
  name = "windows_x86_64_gnullvm"
405
- version = "0.52.6"
405
+ version = "0.53.0"
406
406
  source = "registry+https://github.com/rust-lang/crates.io-index"
407
- checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
407
+ checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
408
408
 
409
409
  [[package]]
410
410
  name = "windows_x86_64_msvc"
411
- version = "0.52.6"
411
+ version = "0.53.0"
412
412
  source = "registry+https://github.com/rust-lang/crates.io-index"
413
- checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
413
+ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
@@ -10,7 +10,7 @@ bindgen v0.69.5
10
10
  https://rust-lang.github.io/rust-bindgen/
11
11
  BSD-3-Clause
12
12
 
13
- bitflags v2.9.0
13
+ bitflags v2.9.1
14
14
  https://github.com/bitflags/bitflags
15
15
  MIT OR Apache-2.0
16
16
 
@@ -18,9 +18,9 @@ cexpr v0.6.0
18
18
  https://github.com/jethrogb/rust-cexpr
19
19
  Apache-2.0/MIT
20
20
 
21
- cfg-if v1.0.0
22
- https://github.com/alexcrichton/cfg-if
23
- MIT/Apache-2.0
21
+ cfg-if v1.0.1
22
+ https://github.com/rust-lang/cfg-if
23
+ MIT OR Apache-2.0
24
24
 
25
25
  clang-sys v1.8.1
26
26
  https://github.com/KyleMayes/clang-sys
@@ -50,11 +50,11 @@ lazycell v1.3.0
50
50
  https://github.com/indiv0/lazycell
51
51
  MIT/Apache-2.0
52
52
 
53
- libc v0.2.172
53
+ libc v0.2.174
54
54
  https://github.com/rust-lang/libc
55
55
  MIT OR Apache-2.0
56
56
 
57
- libloading v0.8.6
57
+ libloading v0.8.8
58
58
  https://github.com/nagisa/rust_libloading/
59
59
  ISC
60
60
 
@@ -66,7 +66,7 @@ magnus-macros v0.6.0
66
66
  https://github.com/matsadler/magnus
67
67
  MIT
68
68
 
69
- memchr v2.7.4
69
+ memchr v2.7.5
70
70
  https://github.com/BurntSushi/memchr
71
71
  Unlicense OR MIT
72
72
 
@@ -90,11 +90,11 @@ quote v1.0.40
90
90
  https://github.com/dtolnay/quote
91
91
  MIT OR Apache-2.0
92
92
 
93
- rb-sys v0.9.111
93
+ rb-sys v0.9.116
94
94
  https://github.com/oxidize-rb/rb-sys
95
95
  MIT OR Apache-2.0
96
96
 
97
- rb-sys-build v0.9.111
97
+ rb-sys-build v0.9.116
98
98
  https://github.com/oxidize-rb/rb-sys
99
99
  MIT OR Apache-2.0
100
100
 
@@ -122,7 +122,7 @@ ryu v1.0.20
122
122
  https://github.com/dtolnay/ryu
123
123
  Apache-2.0 OR BSL-1.0
124
124
 
125
- safetensors v0.5.3
125
+ safetensors v0.6.0
126
126
  https://github.com/huggingface/safetensors
127
127
  Apache-2.0
128
128
 
@@ -150,7 +150,7 @@ shlex v1.3.0
150
150
  https://github.com/comex/rust-shlex
151
151
  MIT OR Apache-2.0
152
152
 
153
- syn v2.0.101
153
+ syn v2.0.104
154
154
  https://github.com/dtolnay/syn
155
155
  MIT OR Apache-2.0
156
156
 
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module Safetensors
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safetensors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-05 00:00:00.000000000 Z
11
+ date: 2025-06-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: andrew@ankane.org
@@ -23,7 +23,6 @@ files:
23
23
  - LICENSE.txt
24
24
  - README.md
25
25
  - lib/safetensors.rb
26
- - lib/safetensors/3.1/safetensors.so
27
26
  - lib/safetensors/3.2/safetensors.so
28
27
  - lib/safetensors/3.3/safetensors.so
29
28
  - lib/safetensors/3.4/safetensors.so
@@ -42,7 +41,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
42
41
  requirements:
43
42
  - - ">="
44
43
  - !ruby/object:Gem::Version
45
- version: '3.1'
44
+ version: '3.2'
46
45
  - - "<"
47
46
  - !ruby/object:Gem::Version
48
47
  version: 3.5.dev
Binary file