wkp 0.6.0__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.
- wkp-0.6.0/Cargo.lock +482 -0
- wkp-0.6.0/Cargo.toml +24 -0
- wkp-0.6.0/PKG-INFO +223 -0
- wkp-0.6.0/README.md +198 -0
- wkp-0.6.0/bindings/python/.gitignore +6 -0
- wkp-0.6.0/bindings/python/Cargo.toml +20 -0
- wkp-0.6.0/bindings/python/README.md +198 -0
- wkp-0.6.0/bindings/python/benchmark/bench_flat_api.py +101 -0
- wkp-0.6.0/bindings/python/benchmark/benchmark.py +428 -0
- wkp-0.6.0/bindings/python/src/lib.rs +249 -0
- wkp-0.6.0/bindings/python/tests/test_core.py +114 -0
- wkp-0.6.0/bindings/python/tests/test_encode.py +70 -0
- wkp-0.6.0/bindings/python/tests/test_geometry_frame.py +182 -0
- wkp-0.6.0/bindings/python/tests/test_integration_csv.py +95 -0
- wkp-0.6.0/bindings/python/tests/test_wkp.py +129 -0
- wkp-0.6.0/core/Cargo.toml +11 -0
- wkp-0.6.0/core/README.md +73 -0
- wkp-0.6.0/core/examples/bench.rs +103 -0
- wkp-0.6.0/core/examples/simd_ab.rs +123 -0
- wkp-0.6.0/core/src/lib.rs +1152 -0
- wkp-0.6.0/core/tests/data/c_core_golden.tsv +600 -0
- wkp-0.6.0/core/tests/fixtures.rs +253 -0
- wkp-0.6.0/core/tests/golden.rs +94 -0
- wkp-0.6.0/core/tests/reference.rs +258 -0
- wkp-0.6.0/core/tests/support/spec_decoder.rs +90 -0
- wkp-0.6.0/pyproject.toml +57 -0
- wkp-0.6.0/python/wkp/__init__.py +476 -0
- wkp-0.6.0/python/wkp/__init__.pyi +197 -0
- wkp-0.6.0/python/wkp/py.typed +0 -0
wkp-0.6.0/Cargo.lock
ADDED
|
@@ -0,0 +1,482 @@
|
|
|
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 = "bitflags"
|
|
13
|
+
version = "2.13.2"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "cfg-if"
|
|
19
|
+
version = "1.0.5"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "convert_case"
|
|
25
|
+
version = "0.12.0"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "1af709f1f33454bf52eadfc8c78b3b9ef9cb26fb54d16dc9cd9a7299f899fd1b"
|
|
28
|
+
dependencies = [
|
|
29
|
+
"unicode-segmentation",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "ctor"
|
|
34
|
+
version = "1.0.13"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d"
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "futures"
|
|
40
|
+
version = "0.3.34"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3"
|
|
43
|
+
dependencies = [
|
|
44
|
+
"futures-channel",
|
|
45
|
+
"futures-core",
|
|
46
|
+
"futures-executor",
|
|
47
|
+
"futures-io",
|
|
48
|
+
"futures-sink",
|
|
49
|
+
"futures-task",
|
|
50
|
+
"futures-util",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[[package]]
|
|
54
|
+
name = "futures-channel"
|
|
55
|
+
version = "0.3.34"
|
|
56
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
58
|
+
dependencies = [
|
|
59
|
+
"futures-core",
|
|
60
|
+
"futures-sink",
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
[[package]]
|
|
64
|
+
name = "futures-core"
|
|
65
|
+
version = "0.3.34"
|
|
66
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
67
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
68
|
+
|
|
69
|
+
[[package]]
|
|
70
|
+
name = "futures-executor"
|
|
71
|
+
version = "0.3.34"
|
|
72
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
73
|
+
checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432"
|
|
74
|
+
dependencies = [
|
|
75
|
+
"futures-core",
|
|
76
|
+
"futures-task",
|
|
77
|
+
"futures-util",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "futures-io"
|
|
82
|
+
version = "0.3.34"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "futures-macro"
|
|
88
|
+
version = "0.3.34"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
|
|
91
|
+
dependencies = [
|
|
92
|
+
"proc-macro2",
|
|
93
|
+
"quote",
|
|
94
|
+
"syn",
|
|
95
|
+
]
|
|
96
|
+
|
|
97
|
+
[[package]]
|
|
98
|
+
name = "futures-sink"
|
|
99
|
+
version = "0.3.34"
|
|
100
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
101
|
+
checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
|
|
102
|
+
|
|
103
|
+
[[package]]
|
|
104
|
+
name = "futures-task"
|
|
105
|
+
version = "0.3.34"
|
|
106
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
108
|
+
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "futures-util"
|
|
111
|
+
version = "0.3.34"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
114
|
+
dependencies = [
|
|
115
|
+
"futures-channel",
|
|
116
|
+
"futures-core",
|
|
117
|
+
"futures-io",
|
|
118
|
+
"futures-macro",
|
|
119
|
+
"futures-sink",
|
|
120
|
+
"futures-task",
|
|
121
|
+
"memchr",
|
|
122
|
+
"pin-project-lite",
|
|
123
|
+
"slab",
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "heck"
|
|
128
|
+
version = "0.5.0"
|
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "libc"
|
|
134
|
+
version = "0.2.191"
|
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
137
|
+
|
|
138
|
+
[[package]]
|
|
139
|
+
name = "libloading"
|
|
140
|
+
version = "0.9.0"
|
|
141
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
+
checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60"
|
|
143
|
+
dependencies = [
|
|
144
|
+
"cfg-if",
|
|
145
|
+
"windows-link",
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
[[package]]
|
|
149
|
+
name = "matrixmultiply"
|
|
150
|
+
version = "0.3.11"
|
|
151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
+
checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
|
|
153
|
+
dependencies = [
|
|
154
|
+
"autocfg",
|
|
155
|
+
"rawpointer",
|
|
156
|
+
]
|
|
157
|
+
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "memchr"
|
|
160
|
+
version = "2.8.3"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
163
|
+
|
|
164
|
+
[[package]]
|
|
165
|
+
name = "napi"
|
|
166
|
+
version = "3.14.2"
|
|
167
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
+
checksum = "a4e2cf85c02d9b057898c485b824c3c416b65193689e2b7f517efc94b86ed24c"
|
|
169
|
+
dependencies = [
|
|
170
|
+
"bitflags",
|
|
171
|
+
"ctor",
|
|
172
|
+
"futures",
|
|
173
|
+
"libc",
|
|
174
|
+
"napi-build",
|
|
175
|
+
"napi-sys",
|
|
176
|
+
"nohash-hasher",
|
|
177
|
+
"rustc-hash",
|
|
178
|
+
]
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "napi-build"
|
|
182
|
+
version = "2.6.0"
|
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
+
checksum = "b899b545d3aa6dca985939059f258c5488d34e4ecf39c274e20009748f4b846d"
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "napi-derive"
|
|
188
|
+
version = "3.6.12"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "92cec6048ac04041ac8055bdce1ec4f353416cd443ba9222bf73af790c3d4495"
|
|
191
|
+
dependencies = [
|
|
192
|
+
"convert_case",
|
|
193
|
+
"ctor",
|
|
194
|
+
"napi-derive-backend",
|
|
195
|
+
"proc-macro2",
|
|
196
|
+
"quote",
|
|
197
|
+
"syn",
|
|
198
|
+
]
|
|
199
|
+
|
|
200
|
+
[[package]]
|
|
201
|
+
name = "napi-derive-backend"
|
|
202
|
+
version = "6.1.5"
|
|
203
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
|
+
checksum = "fae2444f4ba7333754bb73414ff8059dec2cb23b83a95bd1a0bf08169eed1be0"
|
|
205
|
+
dependencies = [
|
|
206
|
+
"convert_case",
|
|
207
|
+
"proc-macro2",
|
|
208
|
+
"quote",
|
|
209
|
+
"semver",
|
|
210
|
+
"syn",
|
|
211
|
+
]
|
|
212
|
+
|
|
213
|
+
[[package]]
|
|
214
|
+
name = "napi-sys"
|
|
215
|
+
version = "3.4.0"
|
|
216
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
217
|
+
checksum = "e22a4f25c16a5c5411d987cd6fbd48313522ae1789ade2d6dd3efdc6d40a0fc8"
|
|
218
|
+
dependencies = [
|
|
219
|
+
"libloading",
|
|
220
|
+
]
|
|
221
|
+
|
|
222
|
+
[[package]]
|
|
223
|
+
name = "ndarray"
|
|
224
|
+
version = "0.17.2"
|
|
225
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
226
|
+
checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
|
|
227
|
+
dependencies = [
|
|
228
|
+
"matrixmultiply",
|
|
229
|
+
"num-complex",
|
|
230
|
+
"num-integer",
|
|
231
|
+
"num-traits",
|
|
232
|
+
"portable-atomic",
|
|
233
|
+
"portable-atomic-util",
|
|
234
|
+
"rawpointer",
|
|
235
|
+
]
|
|
236
|
+
|
|
237
|
+
[[package]]
|
|
238
|
+
name = "nohash-hasher"
|
|
239
|
+
version = "0.2.0"
|
|
240
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
241
|
+
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
|
|
242
|
+
|
|
243
|
+
[[package]]
|
|
244
|
+
name = "num-complex"
|
|
245
|
+
version = "0.4.6"
|
|
246
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
247
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
|
248
|
+
dependencies = [
|
|
249
|
+
"num-traits",
|
|
250
|
+
]
|
|
251
|
+
|
|
252
|
+
[[package]]
|
|
253
|
+
name = "num-integer"
|
|
254
|
+
version = "0.1.47"
|
|
255
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
256
|
+
checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
|
|
257
|
+
dependencies = [
|
|
258
|
+
"num-traits",
|
|
259
|
+
]
|
|
260
|
+
|
|
261
|
+
[[package]]
|
|
262
|
+
name = "num-traits"
|
|
263
|
+
version = "0.2.19"
|
|
264
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
266
|
+
dependencies = [
|
|
267
|
+
"autocfg",
|
|
268
|
+
]
|
|
269
|
+
|
|
270
|
+
[[package]]
|
|
271
|
+
name = "numpy"
|
|
272
|
+
version = "0.30.0"
|
|
273
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
+
checksum = "aa0b9111761885449e894981fa8051dcf69e0bd114aecbd4bcdd830b6be4ed92"
|
|
275
|
+
dependencies = [
|
|
276
|
+
"libc",
|
|
277
|
+
"ndarray",
|
|
278
|
+
"num-complex",
|
|
279
|
+
"num-integer",
|
|
280
|
+
"num-traits",
|
|
281
|
+
"pyo3",
|
|
282
|
+
"pyo3-build-config",
|
|
283
|
+
"rustc-hash",
|
|
284
|
+
]
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "once_cell"
|
|
288
|
+
version = "1.21.4"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
291
|
+
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "pin-project-lite"
|
|
294
|
+
version = "0.2.17"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "portable-atomic"
|
|
300
|
+
version = "1.15.0"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "portable-atomic-util"
|
|
306
|
+
version = "0.2.8"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
|
|
309
|
+
dependencies = [
|
|
310
|
+
"portable-atomic",
|
|
311
|
+
]
|
|
312
|
+
|
|
313
|
+
[[package]]
|
|
314
|
+
name = "proc-macro2"
|
|
315
|
+
version = "1.0.107"
|
|
316
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
318
|
+
dependencies = [
|
|
319
|
+
"unicode-ident",
|
|
320
|
+
]
|
|
321
|
+
|
|
322
|
+
[[package]]
|
|
323
|
+
name = "pyo3"
|
|
324
|
+
version = "0.30.1"
|
|
325
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
326
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
327
|
+
dependencies = [
|
|
328
|
+
"libc",
|
|
329
|
+
"once_cell",
|
|
330
|
+
"portable-atomic",
|
|
331
|
+
"pyo3-build-config",
|
|
332
|
+
"pyo3-ffi",
|
|
333
|
+
"pyo3-macros",
|
|
334
|
+
]
|
|
335
|
+
|
|
336
|
+
[[package]]
|
|
337
|
+
name = "pyo3-build-config"
|
|
338
|
+
version = "0.30.1"
|
|
339
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
341
|
+
dependencies = [
|
|
342
|
+
"target-lexicon",
|
|
343
|
+
]
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "pyo3-ffi"
|
|
347
|
+
version = "0.30.1"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"libc",
|
|
352
|
+
"pyo3-build-config",
|
|
353
|
+
]
|
|
354
|
+
|
|
355
|
+
[[package]]
|
|
356
|
+
name = "pyo3-macros"
|
|
357
|
+
version = "0.30.1"
|
|
358
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
359
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
360
|
+
dependencies = [
|
|
361
|
+
"proc-macro2",
|
|
362
|
+
"pyo3-macros-backend",
|
|
363
|
+
"quote",
|
|
364
|
+
"syn",
|
|
365
|
+
]
|
|
366
|
+
|
|
367
|
+
[[package]]
|
|
368
|
+
name = "pyo3-macros-backend"
|
|
369
|
+
version = "0.30.1"
|
|
370
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
372
|
+
dependencies = [
|
|
373
|
+
"heck",
|
|
374
|
+
"proc-macro2",
|
|
375
|
+
"quote",
|
|
376
|
+
"syn",
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "quote"
|
|
381
|
+
version = "1.0.47"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
384
|
+
dependencies = [
|
|
385
|
+
"proc-macro2",
|
|
386
|
+
]
|
|
387
|
+
|
|
388
|
+
[[package]]
|
|
389
|
+
name = "rawpointer"
|
|
390
|
+
version = "0.2.1"
|
|
391
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
393
|
+
|
|
394
|
+
[[package]]
|
|
395
|
+
name = "rustc-hash"
|
|
396
|
+
version = "2.1.3"
|
|
397
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
399
|
+
|
|
400
|
+
[[package]]
|
|
401
|
+
name = "semver"
|
|
402
|
+
version = "1.0.28"
|
|
403
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "slab"
|
|
408
|
+
version = "0.4.12"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
411
|
+
|
|
412
|
+
[[package]]
|
|
413
|
+
name = "syn"
|
|
414
|
+
version = "3.0.9"
|
|
415
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
416
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
417
|
+
dependencies = [
|
|
418
|
+
"proc-macro2",
|
|
419
|
+
"quote",
|
|
420
|
+
"unicode-ident",
|
|
421
|
+
]
|
|
422
|
+
|
|
423
|
+
[[package]]
|
|
424
|
+
name = "target-lexicon"
|
|
425
|
+
version = "0.13.5"
|
|
426
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
427
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
428
|
+
|
|
429
|
+
[[package]]
|
|
430
|
+
name = "unicode-ident"
|
|
431
|
+
version = "1.0.27"
|
|
432
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
434
|
+
|
|
435
|
+
[[package]]
|
|
436
|
+
name = "unicode-segmentation"
|
|
437
|
+
version = "1.13.3"
|
|
438
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
439
|
+
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
|
|
440
|
+
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "windows-link"
|
|
443
|
+
version = "0.2.1"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
446
|
+
|
|
447
|
+
[[package]]
|
|
448
|
+
name = "wkp"
|
|
449
|
+
version = "0.6.0"
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "wkp-capi"
|
|
453
|
+
version = "0.6.0"
|
|
454
|
+
dependencies = [
|
|
455
|
+
"wkp",
|
|
456
|
+
]
|
|
457
|
+
|
|
458
|
+
[[package]]
|
|
459
|
+
name = "wkp-node"
|
|
460
|
+
version = "0.6.0"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"napi",
|
|
463
|
+
"napi-build",
|
|
464
|
+
"napi-derive",
|
|
465
|
+
"wkp",
|
|
466
|
+
]
|
|
467
|
+
|
|
468
|
+
[[package]]
|
|
469
|
+
name = "wkp-py"
|
|
470
|
+
version = "0.6.0"
|
|
471
|
+
dependencies = [
|
|
472
|
+
"numpy",
|
|
473
|
+
"pyo3",
|
|
474
|
+
"wkp",
|
|
475
|
+
]
|
|
476
|
+
|
|
477
|
+
[[package]]
|
|
478
|
+
name = "wkp-wasm"
|
|
479
|
+
version = "0.6.0"
|
|
480
|
+
dependencies = [
|
|
481
|
+
"wkp",
|
|
482
|
+
]
|
wkp-0.6.0/Cargo.toml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["core", "bindings/python"]
|
|
4
|
+
# Fuzz targets need nightly and cargo-fuzz, so they are their own workspace (see fuzz/README.md).
|
|
5
|
+
exclude = ["fuzz"]
|
|
6
|
+
|
|
7
|
+
[workspace.package]
|
|
8
|
+
version = "0.6.0"
|
|
9
|
+
edition = "2021"
|
|
10
|
+
rust-version = "1.85"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
repository = "https://github.com/kodonnell/wkp"
|
|
13
|
+
|
|
14
|
+
[profile.release]
|
|
15
|
+
opt-level = 3
|
|
16
|
+
lto = "fat"
|
|
17
|
+
codegen-units = 1
|
|
18
|
+
# Shipped binaries (wheels, .node, .wasm, libwkp) don't need symbol tables.
|
|
19
|
+
strip = "symbols"
|
|
20
|
+
|
|
21
|
+
# WebAssembly build: no unwinding support is needed, and dropping it shrinks the module.
|
|
22
|
+
[profile.release-wasm]
|
|
23
|
+
inherits = "release"
|
|
24
|
+
panic = "abort"
|