warpsz-rs 0.1.1__tar.gz
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.
- warpsz_rs-0.1.1/Cargo.lock +631 -0
- warpsz_rs-0.1.1/Cargo.toml +20 -0
- warpsz_rs-0.1.1/PKG-INFO +9 -0
- warpsz_rs-0.1.1/pyproject.toml +17 -0
- warpsz_rs-0.1.1/warpsz/Cargo.toml +25 -0
- warpsz_rs-0.1.1/warpsz/src/config.rs +323 -0
- warpsz_rs-0.1.1/warpsz/src/element.rs +59 -0
- warpsz_rs-0.1.1/warpsz/src/error.rs +31 -0
- warpsz_rs-0.1.1/warpsz/src/format.rs +295 -0
- warpsz_rs-0.1.1/warpsz/src/frames.rs +37 -0
- warpsz_rs-0.1.1/warpsz/src/huffman.rs +307 -0
- warpsz_rs-0.1.1/warpsz/src/incr.rs +614 -0
- warpsz_rs-0.1.1/warpsz/src/jacobian.rs +213 -0
- warpsz_rs-0.1.1/warpsz/src/layout.rs +152 -0
- warpsz_rs-0.1.1/warpsz/src/lib.rs +480 -0
- warpsz_rs-0.1.1/warpsz/src/pass.rs +261 -0
- warpsz_rs-0.1.1/warpsz/src/predict.rs +204 -0
- warpsz_rs-0.1.1/warpsz/src/tune.rs +101 -0
- warpsz_rs-0.1.1/warpsz/tests/roundtrip.rs +126 -0
- warpsz_rs-0.1.1/warpsz-py/Cargo.toml +16 -0
- warpsz_rs-0.1.1/warpsz-py/src/lib.rs +190 -0
|
@@ -0,0 +1,631 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "autocfg"
|
|
7
|
+
version = "1.5.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bytes"
|
|
13
|
+
version = "1.12.2"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "cc"
|
|
19
|
+
version = "1.11.3"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "02f0e023adb368345ce0ca6cdfc0f24a06554468d0e8503e14a0841de79bfa69"
|
|
22
|
+
dependencies = [
|
|
23
|
+
"find-msvc-tools",
|
|
24
|
+
"jobserver",
|
|
25
|
+
"libc",
|
|
26
|
+
"shlex",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "cesu8"
|
|
31
|
+
version = "1.1.0"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "cfg-if"
|
|
37
|
+
version = "1.0.5"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "combine"
|
|
43
|
+
version = "4.6.9"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "4356eba6976435498d05a311ee9fc486da3bc81c200d3f0d7dd9703b41913f92"
|
|
46
|
+
dependencies = [
|
|
47
|
+
"bytes",
|
|
48
|
+
"memchr",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[[package]]
|
|
52
|
+
name = "find-msvc-tools"
|
|
53
|
+
version = "0.1.15"
|
|
54
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
+
checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
|
|
56
|
+
|
|
57
|
+
[[package]]
|
|
58
|
+
name = "getrandom"
|
|
59
|
+
version = "0.4.3"
|
|
60
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
62
|
+
dependencies = [
|
|
63
|
+
"cfg-if",
|
|
64
|
+
"libc",
|
|
65
|
+
"r-efi",
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
[[package]]
|
|
69
|
+
name = "heck"
|
|
70
|
+
version = "0.5.0"
|
|
71
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
72
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
73
|
+
|
|
74
|
+
[[package]]
|
|
75
|
+
name = "itoa"
|
|
76
|
+
version = "1.0.19"
|
|
77
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
78
|
+
checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "jni"
|
|
82
|
+
version = "0.21.1"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
|
|
85
|
+
dependencies = [
|
|
86
|
+
"cesu8",
|
|
87
|
+
"cfg-if",
|
|
88
|
+
"combine",
|
|
89
|
+
"jni-sys 0.3.1",
|
|
90
|
+
"log",
|
|
91
|
+
"thiserror",
|
|
92
|
+
"walkdir",
|
|
93
|
+
"windows-sys 0.45.0",
|
|
94
|
+
]
|
|
95
|
+
|
|
96
|
+
[[package]]
|
|
97
|
+
name = "jni-sys"
|
|
98
|
+
version = "0.3.1"
|
|
99
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
+
checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
|
|
101
|
+
dependencies = [
|
|
102
|
+
"jni-sys 0.4.1",
|
|
103
|
+
]
|
|
104
|
+
|
|
105
|
+
[[package]]
|
|
106
|
+
name = "jni-sys"
|
|
107
|
+
version = "0.4.1"
|
|
108
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
109
|
+
checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
|
|
110
|
+
dependencies = [
|
|
111
|
+
"jni-sys-macros",
|
|
112
|
+
]
|
|
113
|
+
|
|
114
|
+
[[package]]
|
|
115
|
+
name = "jni-sys-macros"
|
|
116
|
+
version = "0.4.1"
|
|
117
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
+
checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
|
|
119
|
+
dependencies = [
|
|
120
|
+
"quote",
|
|
121
|
+
"syn 2.0.119",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[[package]]
|
|
125
|
+
name = "jobserver"
|
|
126
|
+
version = "0.1.35"
|
|
127
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
+
checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3"
|
|
129
|
+
dependencies = [
|
|
130
|
+
"getrandom",
|
|
131
|
+
"libc",
|
|
132
|
+
]
|
|
133
|
+
|
|
134
|
+
[[package]]
|
|
135
|
+
name = "libc"
|
|
136
|
+
version = "0.2.191"
|
|
137
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
138
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "log"
|
|
142
|
+
version = "0.4.35"
|
|
143
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
+
checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
|
|
145
|
+
|
|
146
|
+
[[package]]
|
|
147
|
+
name = "matrixmultiply"
|
|
148
|
+
version = "0.3.11"
|
|
149
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
+
checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
|
|
151
|
+
dependencies = [
|
|
152
|
+
"autocfg",
|
|
153
|
+
"rawpointer",
|
|
154
|
+
]
|
|
155
|
+
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "memchr"
|
|
158
|
+
version = "2.8.3"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "ndarray"
|
|
164
|
+
version = "0.17.2"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
|
|
167
|
+
dependencies = [
|
|
168
|
+
"matrixmultiply",
|
|
169
|
+
"num-complex",
|
|
170
|
+
"num-integer",
|
|
171
|
+
"num-traits",
|
|
172
|
+
"portable-atomic",
|
|
173
|
+
"portable-atomic-util",
|
|
174
|
+
"rawpointer",
|
|
175
|
+
]
|
|
176
|
+
|
|
177
|
+
[[package]]
|
|
178
|
+
name = "num-complex"
|
|
179
|
+
version = "0.4.6"
|
|
180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
|
182
|
+
dependencies = [
|
|
183
|
+
"num-traits",
|
|
184
|
+
]
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "num-integer"
|
|
188
|
+
version = "0.1.47"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
|
|
191
|
+
dependencies = [
|
|
192
|
+
"num-traits",
|
|
193
|
+
]
|
|
194
|
+
|
|
195
|
+
[[package]]
|
|
196
|
+
name = "num-traits"
|
|
197
|
+
version = "0.2.19"
|
|
198
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
199
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
200
|
+
dependencies = [
|
|
201
|
+
"autocfg",
|
|
202
|
+
]
|
|
203
|
+
|
|
204
|
+
[[package]]
|
|
205
|
+
name = "numpy"
|
|
206
|
+
version = "0.30.0"
|
|
207
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
208
|
+
checksum = "aa0b9111761885449e894981fa8051dcf69e0bd114aecbd4bcdd830b6be4ed92"
|
|
209
|
+
dependencies = [
|
|
210
|
+
"libc",
|
|
211
|
+
"ndarray",
|
|
212
|
+
"num-complex",
|
|
213
|
+
"num-integer",
|
|
214
|
+
"num-traits",
|
|
215
|
+
"pyo3",
|
|
216
|
+
"pyo3-build-config",
|
|
217
|
+
"rustc-hash",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "once_cell"
|
|
222
|
+
version = "1.21.4"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
225
|
+
|
|
226
|
+
[[package]]
|
|
227
|
+
name = "pkg-config"
|
|
228
|
+
version = "0.3.34"
|
|
229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
230
|
+
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
|
231
|
+
|
|
232
|
+
[[package]]
|
|
233
|
+
name = "portable-atomic"
|
|
234
|
+
version = "1.15.0"
|
|
235
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
236
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
237
|
+
|
|
238
|
+
[[package]]
|
|
239
|
+
name = "portable-atomic-util"
|
|
240
|
+
version = "0.2.8"
|
|
241
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
+
checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
|
|
243
|
+
dependencies = [
|
|
244
|
+
"portable-atomic",
|
|
245
|
+
]
|
|
246
|
+
|
|
247
|
+
[[package]]
|
|
248
|
+
name = "proc-macro2"
|
|
249
|
+
version = "1.0.107"
|
|
250
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
251
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
252
|
+
dependencies = [
|
|
253
|
+
"unicode-ident",
|
|
254
|
+
]
|
|
255
|
+
|
|
256
|
+
[[package]]
|
|
257
|
+
name = "pyo3"
|
|
258
|
+
version = "0.30.1"
|
|
259
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
261
|
+
dependencies = [
|
|
262
|
+
"libc",
|
|
263
|
+
"once_cell",
|
|
264
|
+
"portable-atomic",
|
|
265
|
+
"pyo3-build-config",
|
|
266
|
+
"pyo3-ffi",
|
|
267
|
+
"pyo3-macros",
|
|
268
|
+
]
|
|
269
|
+
|
|
270
|
+
[[package]]
|
|
271
|
+
name = "pyo3-build-config"
|
|
272
|
+
version = "0.30.1"
|
|
273
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
275
|
+
dependencies = [
|
|
276
|
+
"target-lexicon",
|
|
277
|
+
]
|
|
278
|
+
|
|
279
|
+
[[package]]
|
|
280
|
+
name = "pyo3-ffi"
|
|
281
|
+
version = "0.30.1"
|
|
282
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
283
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
284
|
+
dependencies = [
|
|
285
|
+
"libc",
|
|
286
|
+
"pyo3-build-config",
|
|
287
|
+
]
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "pyo3-macros"
|
|
291
|
+
version = "0.30.1"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
294
|
+
dependencies = [
|
|
295
|
+
"proc-macro2",
|
|
296
|
+
"pyo3-macros-backend",
|
|
297
|
+
"quote",
|
|
298
|
+
"syn 3.0.10",
|
|
299
|
+
]
|
|
300
|
+
|
|
301
|
+
[[package]]
|
|
302
|
+
name = "pyo3-macros-backend"
|
|
303
|
+
version = "0.30.1"
|
|
304
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
305
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
306
|
+
dependencies = [
|
|
307
|
+
"heck",
|
|
308
|
+
"proc-macro2",
|
|
309
|
+
"quote",
|
|
310
|
+
"syn 3.0.10",
|
|
311
|
+
]
|
|
312
|
+
|
|
313
|
+
[[package]]
|
|
314
|
+
name = "quote"
|
|
315
|
+
version = "1.0.47"
|
|
316
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
318
|
+
dependencies = [
|
|
319
|
+
"proc-macro2",
|
|
320
|
+
]
|
|
321
|
+
|
|
322
|
+
[[package]]
|
|
323
|
+
name = "r-efi"
|
|
324
|
+
version = "6.0.0"
|
|
325
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
326
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
327
|
+
|
|
328
|
+
[[package]]
|
|
329
|
+
name = "rawpointer"
|
|
330
|
+
version = "0.2.1"
|
|
331
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
332
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
333
|
+
|
|
334
|
+
[[package]]
|
|
335
|
+
name = "rustc-hash"
|
|
336
|
+
version = "2.1.3"
|
|
337
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
338
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
339
|
+
|
|
340
|
+
[[package]]
|
|
341
|
+
name = "ruzstd"
|
|
342
|
+
version = "0.9.1"
|
|
343
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
344
|
+
checksum = "69e4ce4a039f42bf25920b95667e4d789e98749ab11bbb8d2c2936f788421bb5"
|
|
345
|
+
dependencies = [
|
|
346
|
+
"twox-hash",
|
|
347
|
+
]
|
|
348
|
+
|
|
349
|
+
[[package]]
|
|
350
|
+
name = "same-file"
|
|
351
|
+
version = "1.0.6"
|
|
352
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
353
|
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
354
|
+
dependencies = [
|
|
355
|
+
"winapi-util",
|
|
356
|
+
]
|
|
357
|
+
|
|
358
|
+
[[package]]
|
|
359
|
+
name = "serde"
|
|
360
|
+
version = "1.0.229"
|
|
361
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
362
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
363
|
+
dependencies = [
|
|
364
|
+
"serde_core",
|
|
365
|
+
]
|
|
366
|
+
|
|
367
|
+
[[package]]
|
|
368
|
+
name = "serde_core"
|
|
369
|
+
version = "1.0.229"
|
|
370
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
372
|
+
dependencies = [
|
|
373
|
+
"serde_derive",
|
|
374
|
+
]
|
|
375
|
+
|
|
376
|
+
[[package]]
|
|
377
|
+
name = "serde_derive"
|
|
378
|
+
version = "1.0.229"
|
|
379
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
380
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
381
|
+
dependencies = [
|
|
382
|
+
"proc-macro2",
|
|
383
|
+
"quote",
|
|
384
|
+
"syn 3.0.10",
|
|
385
|
+
]
|
|
386
|
+
|
|
387
|
+
[[package]]
|
|
388
|
+
name = "serde_json"
|
|
389
|
+
version = "1.0.154"
|
|
390
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
392
|
+
dependencies = [
|
|
393
|
+
"itoa",
|
|
394
|
+
"memchr",
|
|
395
|
+
"serde",
|
|
396
|
+
"serde_core",
|
|
397
|
+
"zmij",
|
|
398
|
+
]
|
|
399
|
+
|
|
400
|
+
[[package]]
|
|
401
|
+
name = "shlex"
|
|
402
|
+
version = "2.0.1"
|
|
403
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "syn"
|
|
408
|
+
version = "2.0.119"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
411
|
+
dependencies = [
|
|
412
|
+
"proc-macro2",
|
|
413
|
+
"quote",
|
|
414
|
+
"unicode-ident",
|
|
415
|
+
]
|
|
416
|
+
|
|
417
|
+
[[package]]
|
|
418
|
+
name = "syn"
|
|
419
|
+
version = "3.0.10"
|
|
420
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
421
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
422
|
+
dependencies = [
|
|
423
|
+
"proc-macro2",
|
|
424
|
+
"quote",
|
|
425
|
+
"unicode-ident",
|
|
426
|
+
]
|
|
427
|
+
|
|
428
|
+
[[package]]
|
|
429
|
+
name = "target-lexicon"
|
|
430
|
+
version = "0.13.6"
|
|
431
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
+
checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
|
|
433
|
+
|
|
434
|
+
[[package]]
|
|
435
|
+
name = "thiserror"
|
|
436
|
+
version = "1.0.69"
|
|
437
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
438
|
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
|
439
|
+
dependencies = [
|
|
440
|
+
"thiserror-impl",
|
|
441
|
+
]
|
|
442
|
+
|
|
443
|
+
[[package]]
|
|
444
|
+
name = "thiserror-impl"
|
|
445
|
+
version = "1.0.69"
|
|
446
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
|
448
|
+
dependencies = [
|
|
449
|
+
"proc-macro2",
|
|
450
|
+
"quote",
|
|
451
|
+
"syn 2.0.119",
|
|
452
|
+
]
|
|
453
|
+
|
|
454
|
+
[[package]]
|
|
455
|
+
name = "twox-hash"
|
|
456
|
+
version = "2.1.5"
|
|
457
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
458
|
+
checksum = "86a801b3cea342a06d468c8710662aa29e5e05e4f5c0d62f00bbb7f2ad7941c2"
|
|
459
|
+
|
|
460
|
+
[[package]]
|
|
461
|
+
name = "unicode-ident"
|
|
462
|
+
version = "1.0.27"
|
|
463
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
464
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "walkdir"
|
|
468
|
+
version = "2.5.1"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "b42e295b7452c4604982280d8586001fcad9b8b201cac67bca9771e7a7475403"
|
|
471
|
+
dependencies = [
|
|
472
|
+
"same-file",
|
|
473
|
+
"winapi-util",
|
|
474
|
+
]
|
|
475
|
+
|
|
476
|
+
[[package]]
|
|
477
|
+
name = "warpsz"
|
|
478
|
+
version = "0.1.1"
|
|
479
|
+
dependencies = [
|
|
480
|
+
"ruzstd",
|
|
481
|
+
"serde_json",
|
|
482
|
+
"zstd",
|
|
483
|
+
]
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "warpsz-jni"
|
|
487
|
+
version = "0.1.1"
|
|
488
|
+
dependencies = [
|
|
489
|
+
"jni",
|
|
490
|
+
"warpsz",
|
|
491
|
+
]
|
|
492
|
+
|
|
493
|
+
[[package]]
|
|
494
|
+
name = "warpsz-py"
|
|
495
|
+
version = "0.1.1"
|
|
496
|
+
dependencies = [
|
|
497
|
+
"numpy",
|
|
498
|
+
"pyo3",
|
|
499
|
+
"warpsz",
|
|
500
|
+
]
|
|
501
|
+
|
|
502
|
+
[[package]]
|
|
503
|
+
name = "warpsz-wasm"
|
|
504
|
+
version = "0.1.1"
|
|
505
|
+
dependencies = [
|
|
506
|
+
"warpsz",
|
|
507
|
+
]
|
|
508
|
+
|
|
509
|
+
[[package]]
|
|
510
|
+
name = "winapi-util"
|
|
511
|
+
version = "0.1.11"
|
|
512
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
513
|
+
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
514
|
+
dependencies = [
|
|
515
|
+
"windows-sys 0.61.2",
|
|
516
|
+
]
|
|
517
|
+
|
|
518
|
+
[[package]]
|
|
519
|
+
name = "windows-link"
|
|
520
|
+
version = "0.2.1"
|
|
521
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
522
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
523
|
+
|
|
524
|
+
[[package]]
|
|
525
|
+
name = "windows-sys"
|
|
526
|
+
version = "0.45.0"
|
|
527
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
528
|
+
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
|
529
|
+
dependencies = [
|
|
530
|
+
"windows-targets",
|
|
531
|
+
]
|
|
532
|
+
|
|
533
|
+
[[package]]
|
|
534
|
+
name = "windows-sys"
|
|
535
|
+
version = "0.61.2"
|
|
536
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
537
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
538
|
+
dependencies = [
|
|
539
|
+
"windows-link",
|
|
540
|
+
]
|
|
541
|
+
|
|
542
|
+
[[package]]
|
|
543
|
+
name = "windows-targets"
|
|
544
|
+
version = "0.42.2"
|
|
545
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
546
|
+
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
|
547
|
+
dependencies = [
|
|
548
|
+
"windows_aarch64_gnullvm",
|
|
549
|
+
"windows_aarch64_msvc",
|
|
550
|
+
"windows_i686_gnu",
|
|
551
|
+
"windows_i686_msvc",
|
|
552
|
+
"windows_x86_64_gnu",
|
|
553
|
+
"windows_x86_64_gnullvm",
|
|
554
|
+
"windows_x86_64_msvc",
|
|
555
|
+
]
|
|
556
|
+
|
|
557
|
+
[[package]]
|
|
558
|
+
name = "windows_aarch64_gnullvm"
|
|
559
|
+
version = "0.42.2"
|
|
560
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
561
|
+
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
|
562
|
+
|
|
563
|
+
[[package]]
|
|
564
|
+
name = "windows_aarch64_msvc"
|
|
565
|
+
version = "0.42.2"
|
|
566
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
567
|
+
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
|
568
|
+
|
|
569
|
+
[[package]]
|
|
570
|
+
name = "windows_i686_gnu"
|
|
571
|
+
version = "0.42.2"
|
|
572
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
573
|
+
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
|
574
|
+
|
|
575
|
+
[[package]]
|
|
576
|
+
name = "windows_i686_msvc"
|
|
577
|
+
version = "0.42.2"
|
|
578
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
579
|
+
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
|
580
|
+
|
|
581
|
+
[[package]]
|
|
582
|
+
name = "windows_x86_64_gnu"
|
|
583
|
+
version = "0.42.2"
|
|
584
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
585
|
+
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
|
586
|
+
|
|
587
|
+
[[package]]
|
|
588
|
+
name = "windows_x86_64_gnullvm"
|
|
589
|
+
version = "0.42.2"
|
|
590
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
591
|
+
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
|
592
|
+
|
|
593
|
+
[[package]]
|
|
594
|
+
name = "windows_x86_64_msvc"
|
|
595
|
+
version = "0.42.2"
|
|
596
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
597
|
+
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
|
598
|
+
|
|
599
|
+
[[package]]
|
|
600
|
+
name = "zmij"
|
|
601
|
+
version = "1.0.23"
|
|
602
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
603
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
604
|
+
|
|
605
|
+
[[package]]
|
|
606
|
+
name = "zstd"
|
|
607
|
+
version = "0.14.5"
|
|
608
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
609
|
+
checksum = "465cb081cac3a28a84ef547702dba1fe0f4a9f22e4e57a0b675ceee028c2af80"
|
|
610
|
+
dependencies = [
|
|
611
|
+
"zstd-safe",
|
|
612
|
+
]
|
|
613
|
+
|
|
614
|
+
[[package]]
|
|
615
|
+
name = "zstd-safe"
|
|
616
|
+
version = "8.4.0"
|
|
617
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
618
|
+
checksum = "9b09bddd92c53b91833f4df03e0ea07e02d8367cfcd15a3b9acda94fc273f793"
|
|
619
|
+
dependencies = [
|
|
620
|
+
"zstd-sys",
|
|
621
|
+
]
|
|
622
|
+
|
|
623
|
+
[[package]]
|
|
624
|
+
name = "zstd-sys"
|
|
625
|
+
version = "2.2.0+zstd.1.6.0"
|
|
626
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
627
|
+
checksum = "c3f4089cda6dda4dc43c43dd9f8964140064fd2f752f3da46c3a483c3c175160"
|
|
628
|
+
dependencies = [
|
|
629
|
+
"cc",
|
|
630
|
+
"pkg-config",
|
|
631
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "3"
|
|
3
|
+
members = ["warpsz", "warpsz-py"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.1"
|
|
7
|
+
edition = "2024"
|
|
8
|
+
license = "Apache-2.0"
|
|
9
|
+
rust-version = "1.85"
|
|
10
|
+
|
|
11
|
+
[profile.release]
|
|
12
|
+
opt-level = 3
|
|
13
|
+
lto = "fat"
|
|
14
|
+
codegen-units = 1
|
|
15
|
+
|
|
16
|
+
# wasm: small and fast
|
|
17
|
+
[profile.release-wasm]
|
|
18
|
+
inherits = "release"
|
|
19
|
+
opt-level = 3
|
|
20
|
+
strip = true
|
warpsz_rs-0.1.1/PKG-INFO
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: warpsz-rs
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Classifier: Programming Language :: Rust
|
|
5
|
+
Classifier: Programming Language :: Python :: 3
|
|
6
|
+
Requires-Dist: numpy>=1.25
|
|
7
|
+
Summary: Rust implementation of the warpsz codec, used by the warpsz package when installed
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
|
+
Requires-Python: >=3.11
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["maturin>=1.7,<2"]
|
|
3
|
+
build-backend = "maturin"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "warpsz-rs"
|
|
7
|
+
description = "Rust implementation of the warpsz codec, used by the warpsz package when installed"
|
|
8
|
+
requires-python = ">=3.11"
|
|
9
|
+
license = "Apache-2.0"
|
|
10
|
+
dependencies = ["numpy>=1.25"]
|
|
11
|
+
version = "0.1.1"
|
|
12
|
+
classifiers = ["Programming Language :: Rust", "Programming Language :: Python :: 3"]
|
|
13
|
+
|
|
14
|
+
[tool.maturin]
|
|
15
|
+
module-name = "warpsz_rs"
|
|
16
|
+
features = ["pyo3/extension-module"]
|
|
17
|
+
manifest-path = "warpsz-py/Cargo.toml"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "warpsz"
|
|
3
|
+
description = "Error-bounded, seam-free lossy codec for registration displacement fields (zarr v3 `warpsz`)"
|
|
4
|
+
version.workspace = true
|
|
5
|
+
edition.workspace = true
|
|
6
|
+
license.workspace = true
|
|
7
|
+
rust-version.workspace = true
|
|
8
|
+
keywords = ["zarr", "compression", "registration", "lossy", "codec"]
|
|
9
|
+
categories = ["compression", "science"]
|
|
10
|
+
|
|
11
|
+
[features]
|
|
12
|
+
default = ["zstd-native", "json"]
|
|
13
|
+
# libzstd via the `zstd` crate (fast, needs a C compiler for the target)
|
|
14
|
+
zstd-native = ["dep:zstd"]
|
|
15
|
+
# pure-Rust zstd via `ruzstd` (for wasm32 and other targets without a C toolchain)
|
|
16
|
+
zstd-pure = ["dep:ruzstd"]
|
|
17
|
+
# Config::from_json
|
|
18
|
+
json = ["dep:serde_json"]
|
|
19
|
+
|
|
20
|
+
[dependencies]
|
|
21
|
+
zstd = { version = "0.14", optional = true, default-features = false }
|
|
22
|
+
ruzstd = { version = "0.9", optional = true }
|
|
23
|
+
serde_json = { version = "1", optional = true }
|
|
24
|
+
|
|
25
|
+
[dev-dependencies]
|