safetensors 0.1.0 → 0.1.1

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: 93170fb42d80a72a583e68284799a36ee9b1f2e44b3ef404e432fb608321d757
4
- data.tar.gz: 300a5d3e6487ec2298f0c054ccd24671c84f443815330721832cee25a95ae472
3
+ metadata.gz: 84f8bff7c062a601cd51927b94d60d6831c38ac3aa96ff2c7b28683449a636b5
4
+ data.tar.gz: d52d4cb1503db6cae59c5178c2808ca8778f6a498e0113900caf8d853dafeb2c
5
5
  SHA512:
6
- metadata.gz: 4477e5433fb15f3e2a45c484bfb4fd32ca312b33b9792631997d143d870cd29cd809c66dc09ad1ab35c708c270fa8c0f2d44fa90d49e8967adeb132ef1602de9
7
- data.tar.gz: 68cd9a2e48aa24269aed08ccf2a071f66b771c8468a17075ad39ef8a925397d2dbfd1480d48987d66760db1c0301866eb1c6aab572ee9b5108b0fdf07ba1605c
6
+ metadata.gz: 29861ffda6b3886b566f74214f177a4fff3585bd8b746156fd23fea2fb7469e639724bf977f5f4c30605782e482ec17a0b47b0d131442b231284493b7b4d7acf
7
+ data.tar.gz: 477a0204f446d5833e65b628dbfae55bc0f71f8e6274f87acc0e9bd888e0d08359666e676dc8ba8d0b96c5d31ba05c0d8a7637304d14bbb72d9da709132ea0d1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.1.1 (2024-08-18)
2
+
3
+ - Updated Safetensors to 0.4.4
4
+ - Added precompiled gem for Linux ARM MUSL
5
+
1
6
  ## 0.1.0 (2024-02-25)
2
7
 
3
8
  - First release
data/Cargo.lock CHANGED
@@ -4,9 +4,9 @@ version = 3
4
4
 
5
5
  [[package]]
6
6
  name = "aho-corasick"
7
- version = "1.1.2"
7
+ version = "1.1.3"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
9
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
10
10
  dependencies = [
11
11
  "memchr",
12
12
  ]
@@ -33,9 +33,9 @@ dependencies = [
33
33
 
34
34
  [[package]]
35
35
  name = "bitflags"
36
- version = "2.4.2"
36
+ version = "2.6.0"
37
37
  source = "registry+https://github.com/rust-lang/crates.io-index"
38
- checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
38
+ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
39
39
 
40
40
  [[package]]
41
41
  name = "cexpr"
@@ -54,9 +54,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
54
54
 
55
55
  [[package]]
56
56
  name = "clang-sys"
57
- version = "1.7.0"
57
+ version = "1.8.1"
58
58
  source = "registry+https://github.com/rust-lang/crates.io-index"
59
- checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1"
59
+ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
60
60
  dependencies = [
61
61
  "glob",
62
62
  "libc",
@@ -65,9 +65,9 @@ dependencies = [
65
65
 
66
66
  [[package]]
67
67
  name = "either"
68
- version = "1.10.0"
68
+ version = "1.13.0"
69
69
  source = "registry+https://github.com/rust-lang/crates.io-index"
70
- checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a"
70
+ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
71
71
 
72
72
  [[package]]
73
73
  name = "glob"
@@ -86,15 +86,15 @@ dependencies = [
86
86
 
87
87
  [[package]]
88
88
  name = "itoa"
89
- version = "1.0.10"
89
+ version = "1.0.11"
90
90
  source = "registry+https://github.com/rust-lang/crates.io-index"
91
- checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
91
+ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
92
92
 
93
93
  [[package]]
94
94
  name = "lazy_static"
95
- version = "1.4.0"
95
+ version = "1.5.0"
96
96
  source = "registry+https://github.com/rust-lang/crates.io-index"
97
- checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
97
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
98
98
 
99
99
  [[package]]
100
100
  name = "lazycell"
@@ -104,25 +104,25 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
104
104
 
105
105
  [[package]]
106
106
  name = "libc"
107
- version = "0.2.153"
107
+ version = "0.2.157"
108
108
  source = "registry+https://github.com/rust-lang/crates.io-index"
109
- checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
109
+ checksum = "374af5f94e54fa97cf75e945cce8a6b201e88a1a07e688b47dfd2a59c66dbd86"
110
110
 
111
111
  [[package]]
112
112
  name = "libloading"
113
- version = "0.8.1"
113
+ version = "0.8.5"
114
114
  source = "registry+https://github.com/rust-lang/crates.io-index"
115
- checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161"
115
+ checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
116
116
  dependencies = [
117
117
  "cfg-if",
118
- "windows-sys",
118
+ "windows-targets",
119
119
  ]
120
120
 
121
121
  [[package]]
122
122
  name = "magnus"
123
- version = "0.6.2"
123
+ version = "0.7.1"
124
124
  source = "registry+https://github.com/rust-lang/crates.io-index"
125
- checksum = "4778544796676e8428e9c622460ebf284bea52d8b10db3aeb449d8b5e61b3a13"
125
+ checksum = "3d87ae53030f3a22e83879e666cb94e58a7bdf31706878a0ba48752994146dab"
126
126
  dependencies = [
127
127
  "magnus-macros",
128
128
  "rb-sys",
@@ -143,9 +143,9 @@ dependencies = [
143
143
 
144
144
  [[package]]
145
145
  name = "memchr"
146
- version = "2.7.1"
146
+ version = "2.7.4"
147
147
  source = "registry+https://github.com/rust-lang/crates.io-index"
148
- checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
148
+ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
149
149
 
150
150
  [[package]]
151
151
  name = "memmap2"
@@ -174,36 +174,36 @@ dependencies = [
174
174
 
175
175
  [[package]]
176
176
  name = "proc-macro2"
177
- version = "1.0.78"
177
+ version = "1.0.86"
178
178
  source = "registry+https://github.com/rust-lang/crates.io-index"
179
- checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
179
+ checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
180
180
  dependencies = [
181
181
  "unicode-ident",
182
182
  ]
183
183
 
184
184
  [[package]]
185
185
  name = "quote"
186
- version = "1.0.35"
186
+ version = "1.0.36"
187
187
  source = "registry+https://github.com/rust-lang/crates.io-index"
188
- checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
188
+ checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
189
189
  dependencies = [
190
190
  "proc-macro2",
191
191
  ]
192
192
 
193
193
  [[package]]
194
194
  name = "rb-sys"
195
- version = "0.9.89"
195
+ version = "0.9.101"
196
196
  source = "registry+https://github.com/rust-lang/crates.io-index"
197
- checksum = "0d197f2c03751ef006f29d593d22aa9068c9c358e04ca503afea0329c366147c"
197
+ checksum = "1ba2704ccfa7875c91792c57a9aa7c3caac524d3036c122e36eeddad6f6e7c6f"
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.89"
204
+ version = "0.9.101"
205
205
  source = "registry+https://github.com/rust-lang/crates.io-index"
206
- checksum = "2b50caf8fd028f12abe00d6debe2ae2adf6202c9ca3caa59487eda710d90fa28"
206
+ checksum = "c73585ec80c217b7a81257ca9bb89b191b5e452ec4b9106dc4c2e4e96a822242"
207
207
  dependencies = [
208
208
  "bindgen",
209
209
  "lazy_static",
@@ -222,9 +222,9 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
222
222
 
223
223
  [[package]]
224
224
  name = "regex"
225
- version = "1.10.3"
225
+ version = "1.10.6"
226
226
  source = "registry+https://github.com/rust-lang/crates.io-index"
227
- checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
227
+ checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
228
228
  dependencies = [
229
229
  "aho-corasick",
230
230
  "memchr",
@@ -234,9 +234,9 @@ dependencies = [
234
234
 
235
235
  [[package]]
236
236
  name = "regex-automata"
237
- version = "0.4.5"
237
+ version = "0.4.7"
238
238
  source = "registry+https://github.com/rust-lang/crates.io-index"
239
- checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd"
239
+ checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
240
240
  dependencies = [
241
241
  "aho-corasick",
242
242
  "memchr",
@@ -245,9 +245,9 @@ dependencies = [
245
245
 
246
246
  [[package]]
247
247
  name = "regex-syntax"
248
- version = "0.8.2"
248
+ version = "0.8.4"
249
249
  source = "registry+https://github.com/rust-lang/crates.io-index"
250
- checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
250
+ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
251
251
 
252
252
  [[package]]
253
253
  name = "rustc-hash"
@@ -257,25 +257,25 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
257
257
 
258
258
  [[package]]
259
259
  name = "ryu"
260
- version = "1.0.17"
260
+ version = "1.0.18"
261
261
  source = "registry+https://github.com/rust-lang/crates.io-index"
262
- checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
262
+ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
263
263
 
264
264
  [[package]]
265
265
  name = "safetensors"
266
- version = "0.1.0"
266
+ version = "0.1.1"
267
267
  dependencies = [
268
268
  "magnus",
269
269
  "memmap2",
270
- "safetensors 0.4.2",
270
+ "safetensors 0.4.4",
271
271
  "serde_json",
272
272
  ]
273
273
 
274
274
  [[package]]
275
275
  name = "safetensors"
276
- version = "0.4.2"
276
+ version = "0.4.4"
277
277
  source = "registry+https://github.com/rust-lang/crates.io-index"
278
- checksum = "8d980e6bfb34436fb0a81e42bc41af43f11805bbbca443e7f68e9faaabe669ed"
278
+ checksum = "7725d4d98fa515472f43a6e2bbf956c48e06b89bb50593a040e5945160214450"
279
279
  dependencies = [
280
280
  "serde",
281
281
  "serde_json",
@@ -289,18 +289,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
289
289
 
290
290
  [[package]]
291
291
  name = "serde"
292
- version = "1.0.197"
292
+ version = "1.0.208"
293
293
  source = "registry+https://github.com/rust-lang/crates.io-index"
294
- checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
294
+ checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
295
295
  dependencies = [
296
296
  "serde_derive",
297
297
  ]
298
298
 
299
299
  [[package]]
300
300
  name = "serde_derive"
301
- version = "1.0.197"
301
+ version = "1.0.208"
302
302
  source = "registry+https://github.com/rust-lang/crates.io-index"
303
- checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
303
+ checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
304
304
  dependencies = [
305
305
  "proc-macro2",
306
306
  "quote",
@@ -309,11 +309,12 @@ dependencies = [
309
309
 
310
310
  [[package]]
311
311
  name = "serde_json"
312
- version = "1.0.114"
312
+ version = "1.0.125"
313
313
  source = "registry+https://github.com/rust-lang/crates.io-index"
314
- checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0"
314
+ checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed"
315
315
  dependencies = [
316
316
  "itoa",
317
+ "memchr",
317
318
  "ryu",
318
319
  "serde",
319
320
  ]
@@ -332,9 +333,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
332
333
 
333
334
  [[package]]
334
335
  name = "syn"
335
- version = "2.0.50"
336
+ version = "2.0.75"
336
337
  source = "registry+https://github.com/rust-lang/crates.io-index"
337
- checksum = "74f1bdc9872430ce9b75da68329d1c1746faf50ffac5f19e02b71e37ff881ffb"
338
+ checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
338
339
  dependencies = [
339
340
  "proc-macro2",
340
341
  "quote",
@@ -347,24 +348,16 @@ version = "1.0.12"
347
348
  source = "registry+https://github.com/rust-lang/crates.io-index"
348
349
  checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
349
350
 
350
- [[package]]
351
- name = "windows-sys"
352
- version = "0.48.0"
353
- source = "registry+https://github.com/rust-lang/crates.io-index"
354
- checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
355
- dependencies = [
356
- "windows-targets",
357
- ]
358
-
359
351
  [[package]]
360
352
  name = "windows-targets"
361
- version = "0.48.5"
353
+ version = "0.52.6"
362
354
  source = "registry+https://github.com/rust-lang/crates.io-index"
363
- checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
355
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
364
356
  dependencies = [
365
357
  "windows_aarch64_gnullvm",
366
358
  "windows_aarch64_msvc",
367
359
  "windows_i686_gnu",
360
+ "windows_i686_gnullvm",
368
361
  "windows_i686_msvc",
369
362
  "windows_x86_64_gnu",
370
363
  "windows_x86_64_gnullvm",
@@ -373,42 +366,48 @@ dependencies = [
373
366
 
374
367
  [[package]]
375
368
  name = "windows_aarch64_gnullvm"
376
- version = "0.48.5"
369
+ version = "0.52.6"
377
370
  source = "registry+https://github.com/rust-lang/crates.io-index"
378
- checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
371
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
379
372
 
380
373
  [[package]]
381
374
  name = "windows_aarch64_msvc"
382
- version = "0.48.5"
375
+ version = "0.52.6"
383
376
  source = "registry+https://github.com/rust-lang/crates.io-index"
384
- checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
377
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
385
378
 
386
379
  [[package]]
387
380
  name = "windows_i686_gnu"
388
- version = "0.48.5"
381
+ version = "0.52.6"
382
+ source = "registry+https://github.com/rust-lang/crates.io-index"
383
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
384
+
385
+ [[package]]
386
+ name = "windows_i686_gnullvm"
387
+ version = "0.52.6"
389
388
  source = "registry+https://github.com/rust-lang/crates.io-index"
390
- checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
389
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
391
390
 
392
391
  [[package]]
393
392
  name = "windows_i686_msvc"
394
- version = "0.48.5"
393
+ version = "0.52.6"
395
394
  source = "registry+https://github.com/rust-lang/crates.io-index"
396
- checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
395
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
397
396
 
398
397
  [[package]]
399
398
  name = "windows_x86_64_gnu"
400
- version = "0.48.5"
399
+ version = "0.52.6"
401
400
  source = "registry+https://github.com/rust-lang/crates.io-index"
402
- checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
401
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
403
402
 
404
403
  [[package]]
405
404
  name = "windows_x86_64_gnullvm"
406
- version = "0.48.5"
405
+ version = "0.52.6"
407
406
  source = "registry+https://github.com/rust-lang/crates.io-index"
408
- checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
407
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
409
408
 
410
409
  [[package]]
411
410
  name = "windows_x86_64_msvc"
412
- version = "0.48.5"
411
+ version = "0.52.6"
413
412
  source = "registry+https://github.com/rust-lang/crates.io-index"
414
- checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
413
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "safetensors"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  license = "Apache-2.0"
5
5
  authors = ["Andrew Kane <andrew@ankane.org>"]
6
6
  edition = "2021"
@@ -11,7 +11,7 @@ publish = false
11
11
  crate-type = ["cdylib"]
12
12
 
13
13
  [dependencies]
14
- magnus = "0.6"
14
+ magnus = "0.7"
15
15
  memmap2 = "0.5"
16
- safetensors = "=0.4.2"
16
+ safetensors = "=0.4.4"
17
17
  serde_json = "1.0"
@@ -1,3 +1,3 @@
1
1
  module Safetensors
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.5.3
65
+ rubygems_version: 3.5.11
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: Simple, safe way to store and distribute tensors