safetensors 0.1.2-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c43c7c6541a8546c8e637bbf77263df20d3a3bff78eb58d46516dae895ddd72b
4
+ data.tar.gz: 8f30958dbe4ef00a854e8690a6df2ea882c010aa3b2ecb6501ced96ecc2ae9ef
5
+ SHA512:
6
+ metadata.gz: 8740d3f8b3b9b15b50feb88f29ecaa66a3931360cf4b8e861c3998d300d58d83d7ed0def4a96bdc59be7e5103ed52c7eb7c65a83294823b4dfa9eb38cab3c716
7
+ data.tar.gz: 42e9cce6b81fdf5dd2a77868b82cef252093e41dfb075fea588f4ded85ad70dce82ffacd553d7629e44a5140b84b0cb6e5de853bd04e9325e9704b639c1bbec9
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ ## 0.1.2 (2024-09-08)
2
+
3
+ - Updated Safetensors to 0.4.5
4
+ - Added precompiled gem for Windows
5
+
6
+ ## 0.1.1 (2024-08-18)
7
+
8
+ - Updated Safetensors to 0.4.4
9
+ - Added precompiled gem for Linux ARM MUSL
10
+
11
+ ## 0.1.0 (2024-02-25)
12
+
13
+ - First release
data/Cargo.lock ADDED
@@ -0,0 +1,413 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "bindgen"
16
+ version = "0.69.4"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
19
+ dependencies = [
20
+ "bitflags",
21
+ "cexpr",
22
+ "clang-sys",
23
+ "itertools",
24
+ "lazy_static",
25
+ "lazycell",
26
+ "proc-macro2",
27
+ "quote",
28
+ "regex",
29
+ "rustc-hash",
30
+ "shlex",
31
+ "syn",
32
+ ]
33
+
34
+ [[package]]
35
+ name = "bitflags"
36
+ version = "2.6.0"
37
+ source = "registry+https://github.com/rust-lang/crates.io-index"
38
+ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
39
+
40
+ [[package]]
41
+ name = "cexpr"
42
+ version = "0.6.0"
43
+ source = "registry+https://github.com/rust-lang/crates.io-index"
44
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
45
+ dependencies = [
46
+ "nom",
47
+ ]
48
+
49
+ [[package]]
50
+ name = "cfg-if"
51
+ version = "1.0.0"
52
+ source = "registry+https://github.com/rust-lang/crates.io-index"
53
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
54
+
55
+ [[package]]
56
+ name = "clang-sys"
57
+ version = "1.8.1"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
60
+ dependencies = [
61
+ "glob",
62
+ "libc",
63
+ "libloading",
64
+ ]
65
+
66
+ [[package]]
67
+ name = "either"
68
+ version = "1.13.0"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
71
+
72
+ [[package]]
73
+ name = "glob"
74
+ version = "0.3.1"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
77
+
78
+ [[package]]
79
+ name = "itertools"
80
+ version = "0.12.1"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
83
+ dependencies = [
84
+ "either",
85
+ ]
86
+
87
+ [[package]]
88
+ name = "itoa"
89
+ version = "1.0.11"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
92
+
93
+ [[package]]
94
+ name = "lazy_static"
95
+ version = "1.5.0"
96
+ source = "registry+https://github.com/rust-lang/crates.io-index"
97
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
98
+
99
+ [[package]]
100
+ name = "lazycell"
101
+ version = "1.3.0"
102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
103
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
104
+
105
+ [[package]]
106
+ name = "libc"
107
+ version = "0.2.157"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "374af5f94e54fa97cf75e945cce8a6b201e88a1a07e688b47dfd2a59c66dbd86"
110
+
111
+ [[package]]
112
+ name = "libloading"
113
+ version = "0.8.5"
114
+ source = "registry+https://github.com/rust-lang/crates.io-index"
115
+ checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
116
+ dependencies = [
117
+ "cfg-if",
118
+ "windows-targets",
119
+ ]
120
+
121
+ [[package]]
122
+ name = "magnus"
123
+ version = "0.7.1"
124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
125
+ checksum = "3d87ae53030f3a22e83879e666cb94e58a7bdf31706878a0ba48752994146dab"
126
+ dependencies = [
127
+ "magnus-macros",
128
+ "rb-sys",
129
+ "rb-sys-env",
130
+ "seq-macro",
131
+ ]
132
+
133
+ [[package]]
134
+ name = "magnus-macros"
135
+ version = "0.6.0"
136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
137
+ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
138
+ dependencies = [
139
+ "proc-macro2",
140
+ "quote",
141
+ "syn",
142
+ ]
143
+
144
+ [[package]]
145
+ name = "memchr"
146
+ version = "2.7.4"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
149
+
150
+ [[package]]
151
+ name = "memmap2"
152
+ version = "0.5.10"
153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
154
+ checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
155
+ dependencies = [
156
+ "libc",
157
+ ]
158
+
159
+ [[package]]
160
+ name = "minimal-lexical"
161
+ version = "0.2.1"
162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
163
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
164
+
165
+ [[package]]
166
+ name = "nom"
167
+ version = "7.1.3"
168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
169
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
170
+ dependencies = [
171
+ "memchr",
172
+ "minimal-lexical",
173
+ ]
174
+
175
+ [[package]]
176
+ name = "proc-macro2"
177
+ version = "1.0.86"
178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
179
+ checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
180
+ dependencies = [
181
+ "unicode-ident",
182
+ ]
183
+
184
+ [[package]]
185
+ name = "quote"
186
+ version = "1.0.36"
187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
188
+ checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
189
+ dependencies = [
190
+ "proc-macro2",
191
+ ]
192
+
193
+ [[package]]
194
+ name = "rb-sys"
195
+ version = "0.9.101"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "1ba2704ccfa7875c91792c57a9aa7c3caac524d3036c122e36eeddad6f6e7c6f"
198
+ dependencies = [
199
+ "rb-sys-build",
200
+ ]
201
+
202
+ [[package]]
203
+ name = "rb-sys-build"
204
+ version = "0.9.101"
205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
206
+ checksum = "c73585ec80c217b7a81257ca9bb89b191b5e452ec4b9106dc4c2e4e96a822242"
207
+ dependencies = [
208
+ "bindgen",
209
+ "lazy_static",
210
+ "proc-macro2",
211
+ "quote",
212
+ "regex",
213
+ "shell-words",
214
+ "syn",
215
+ ]
216
+
217
+ [[package]]
218
+ name = "rb-sys-env"
219
+ version = "0.1.2"
220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
221
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
222
+
223
+ [[package]]
224
+ name = "regex"
225
+ version = "1.10.6"
226
+ source = "registry+https://github.com/rust-lang/crates.io-index"
227
+ checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
228
+ dependencies = [
229
+ "aho-corasick",
230
+ "memchr",
231
+ "regex-automata",
232
+ "regex-syntax",
233
+ ]
234
+
235
+ [[package]]
236
+ name = "regex-automata"
237
+ version = "0.4.7"
238
+ source = "registry+https://github.com/rust-lang/crates.io-index"
239
+ checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
240
+ dependencies = [
241
+ "aho-corasick",
242
+ "memchr",
243
+ "regex-syntax",
244
+ ]
245
+
246
+ [[package]]
247
+ name = "regex-syntax"
248
+ version = "0.8.4"
249
+ source = "registry+https://github.com/rust-lang/crates.io-index"
250
+ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
251
+
252
+ [[package]]
253
+ name = "rustc-hash"
254
+ version = "1.1.0"
255
+ source = "registry+https://github.com/rust-lang/crates.io-index"
256
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
257
+
258
+ [[package]]
259
+ name = "ryu"
260
+ version = "1.0.18"
261
+ source = "registry+https://github.com/rust-lang/crates.io-index"
262
+ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
263
+
264
+ [[package]]
265
+ name = "safetensors"
266
+ version = "0.1.2"
267
+ dependencies = [
268
+ "magnus",
269
+ "memmap2",
270
+ "safetensors 0.4.5",
271
+ "serde_json",
272
+ ]
273
+
274
+ [[package]]
275
+ name = "safetensors"
276
+ version = "0.4.5"
277
+ source = "registry+https://github.com/rust-lang/crates.io-index"
278
+ checksum = "44560c11236a6130a46ce36c836a62936dc81ebf8c36a37947423571be0e55b6"
279
+ dependencies = [
280
+ "serde",
281
+ "serde_json",
282
+ ]
283
+
284
+ [[package]]
285
+ name = "seq-macro"
286
+ version = "0.3.5"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
289
+
290
+ [[package]]
291
+ name = "serde"
292
+ version = "1.0.208"
293
+ source = "registry+https://github.com/rust-lang/crates.io-index"
294
+ checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
295
+ dependencies = [
296
+ "serde_derive",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "serde_derive"
301
+ version = "1.0.208"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
304
+ dependencies = [
305
+ "proc-macro2",
306
+ "quote",
307
+ "syn",
308
+ ]
309
+
310
+ [[package]]
311
+ name = "serde_json"
312
+ version = "1.0.125"
313
+ source = "registry+https://github.com/rust-lang/crates.io-index"
314
+ checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed"
315
+ dependencies = [
316
+ "itoa",
317
+ "memchr",
318
+ "ryu",
319
+ "serde",
320
+ ]
321
+
322
+ [[package]]
323
+ name = "shell-words"
324
+ version = "1.1.0"
325
+ source = "registry+https://github.com/rust-lang/crates.io-index"
326
+ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
327
+
328
+ [[package]]
329
+ name = "shlex"
330
+ version = "1.3.0"
331
+ source = "registry+https://github.com/rust-lang/crates.io-index"
332
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
333
+
334
+ [[package]]
335
+ name = "syn"
336
+ version = "2.0.75"
337
+ source = "registry+https://github.com/rust-lang/crates.io-index"
338
+ checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
339
+ dependencies = [
340
+ "proc-macro2",
341
+ "quote",
342
+ "unicode-ident",
343
+ ]
344
+
345
+ [[package]]
346
+ name = "unicode-ident"
347
+ version = "1.0.12"
348
+ source = "registry+https://github.com/rust-lang/crates.io-index"
349
+ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
350
+
351
+ [[package]]
352
+ name = "windows-targets"
353
+ version = "0.52.6"
354
+ source = "registry+https://github.com/rust-lang/crates.io-index"
355
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
356
+ dependencies = [
357
+ "windows_aarch64_gnullvm",
358
+ "windows_aarch64_msvc",
359
+ "windows_i686_gnu",
360
+ "windows_i686_gnullvm",
361
+ "windows_i686_msvc",
362
+ "windows_x86_64_gnu",
363
+ "windows_x86_64_gnullvm",
364
+ "windows_x86_64_msvc",
365
+ ]
366
+
367
+ [[package]]
368
+ name = "windows_aarch64_gnullvm"
369
+ version = "0.52.6"
370
+ source = "registry+https://github.com/rust-lang/crates.io-index"
371
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
372
+
373
+ [[package]]
374
+ name = "windows_aarch64_msvc"
375
+ version = "0.52.6"
376
+ source = "registry+https://github.com/rust-lang/crates.io-index"
377
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
378
+
379
+ [[package]]
380
+ name = "windows_i686_gnu"
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"
388
+ source = "registry+https://github.com/rust-lang/crates.io-index"
389
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
390
+
391
+ [[package]]
392
+ name = "windows_i686_msvc"
393
+ version = "0.52.6"
394
+ source = "registry+https://github.com/rust-lang/crates.io-index"
395
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
396
+
397
+ [[package]]
398
+ name = "windows_x86_64_gnu"
399
+ version = "0.52.6"
400
+ source = "registry+https://github.com/rust-lang/crates.io-index"
401
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
402
+
403
+ [[package]]
404
+ name = "windows_x86_64_gnullvm"
405
+ version = "0.52.6"
406
+ source = "registry+https://github.com/rust-lang/crates.io-index"
407
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
408
+
409
+ [[package]]
410
+ name = "windows_x86_64_msvc"
411
+ version = "0.52.6"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
data/Cargo.toml ADDED
@@ -0,0 +1,6 @@
1
+ [workspace]
2
+ members = ["ext/safetensors"]
3
+ resolver = "2"
4
+
5
+ [profile.release]
6
+ strip = true