lzcomplexity 0.11.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.
- lzcomplexity-0.11.0/Cargo.lock +584 -0
- lzcomplexity-0.11.0/Cargo.toml +29 -0
- lzcomplexity-0.11.0/LICENSE +21 -0
- lzcomplexity-0.11.0/PKG-INFO +275 -0
- lzcomplexity-0.11.0/README.md +258 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/Cargo.toml +19 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/src/lib.rs +21 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/src/lpf.rs +62 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/src/lz76.rs +232 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/src/metrics.rs +148 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/src/sequence.rs +451 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/src/shuffle.rs +159 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-core/src/suffix_array.rs +131 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-py/Cargo.toml +18 -0
- lzcomplexity-0.11.0/crates/lzcomplexity-py/src/lib.rs +406 -0
- lzcomplexity-0.11.0/pyproject.toml +31 -0
- lzcomplexity-0.11.0/python/lzcomplexity/__init__.py +47 -0
- lzcomplexity-0.11.0/python/lzcomplexity/__init__.pyi +111 -0
- lzcomplexity-0.11.0/python/lzcomplexity/py.typed +0 -0
|
@@ -0,0 +1,584 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 3
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "adler2"
|
|
7
|
+
version = "2.0.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "anstream"
|
|
13
|
+
version = "1.0.0"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
|
|
16
|
+
dependencies = [
|
|
17
|
+
"anstyle",
|
|
18
|
+
"anstyle-parse",
|
|
19
|
+
"anstyle-query",
|
|
20
|
+
"anstyle-wincon",
|
|
21
|
+
"colorchoice",
|
|
22
|
+
"is_terminal_polyfill",
|
|
23
|
+
"utf8parse",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anstyle"
|
|
28
|
+
version = "1.0.14"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "anstyle-parse"
|
|
34
|
+
version = "1.0.0"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"utf8parse",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "anstyle-query"
|
|
43
|
+
version = "1.1.5"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
46
|
+
dependencies = [
|
|
47
|
+
"windows-sys",
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
[[package]]
|
|
51
|
+
name = "anstyle-wincon"
|
|
52
|
+
version = "3.0.11"
|
|
53
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
55
|
+
dependencies = [
|
|
56
|
+
"anstyle",
|
|
57
|
+
"once_cell_polyfill",
|
|
58
|
+
"windows-sys",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "autocfg"
|
|
63
|
+
version = "1.5.0"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "cfg-if"
|
|
69
|
+
version = "1.0.4"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
72
|
+
|
|
73
|
+
[[package]]
|
|
74
|
+
name = "clap"
|
|
75
|
+
version = "4.6.4"
|
|
76
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
+
checksum = "d91e0c145792ef73a6ad36d27c75ac09f1832222a3c209689d90f534685ee5b7"
|
|
78
|
+
dependencies = [
|
|
79
|
+
"clap_builder",
|
|
80
|
+
"clap_derive",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "clap_builder"
|
|
85
|
+
version = "4.6.2"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "f09628afdcc538b57f3c6341e9c8e9970f18e4a481690a64974d7023bd33548b"
|
|
88
|
+
dependencies = [
|
|
89
|
+
"anstream",
|
|
90
|
+
"anstyle",
|
|
91
|
+
"clap_lex",
|
|
92
|
+
"strsim",
|
|
93
|
+
]
|
|
94
|
+
|
|
95
|
+
[[package]]
|
|
96
|
+
name = "clap_derive"
|
|
97
|
+
version = "4.6.4"
|
|
98
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
+
checksum = "d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061"
|
|
100
|
+
dependencies = [
|
|
101
|
+
"heck",
|
|
102
|
+
"proc-macro2",
|
|
103
|
+
"quote",
|
|
104
|
+
"syn 3.0.3",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "clap_lex"
|
|
109
|
+
version = "1.1.0"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "colorchoice"
|
|
115
|
+
version = "1.0.5"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
118
|
+
|
|
119
|
+
[[package]]
|
|
120
|
+
name = "crc32fast"
|
|
121
|
+
version = "1.5.0"
|
|
122
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
123
|
+
checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
|
|
124
|
+
dependencies = [
|
|
125
|
+
"cfg-if",
|
|
126
|
+
]
|
|
127
|
+
|
|
128
|
+
[[package]]
|
|
129
|
+
name = "crossbeam-deque"
|
|
130
|
+
version = "0.8.6"
|
|
131
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
132
|
+
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
|
|
133
|
+
dependencies = [
|
|
134
|
+
"crossbeam-epoch",
|
|
135
|
+
"crossbeam-utils",
|
|
136
|
+
]
|
|
137
|
+
|
|
138
|
+
[[package]]
|
|
139
|
+
name = "crossbeam-epoch"
|
|
140
|
+
version = "0.9.18"
|
|
141
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
|
143
|
+
dependencies = [
|
|
144
|
+
"crossbeam-utils",
|
|
145
|
+
]
|
|
146
|
+
|
|
147
|
+
[[package]]
|
|
148
|
+
name = "crossbeam-utils"
|
|
149
|
+
version = "0.8.21"
|
|
150
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
151
|
+
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
152
|
+
|
|
153
|
+
[[package]]
|
|
154
|
+
name = "either"
|
|
155
|
+
version = "1.15.0"
|
|
156
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
157
|
+
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
158
|
+
|
|
159
|
+
[[package]]
|
|
160
|
+
name = "flate2"
|
|
161
|
+
version = "1.1.9"
|
|
162
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
163
|
+
checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
|
|
164
|
+
dependencies = [
|
|
165
|
+
"crc32fast",
|
|
166
|
+
"miniz_oxide",
|
|
167
|
+
]
|
|
168
|
+
|
|
169
|
+
[[package]]
|
|
170
|
+
name = "getrandom"
|
|
171
|
+
version = "0.2.17"
|
|
172
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
+
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
|
|
174
|
+
dependencies = [
|
|
175
|
+
"cfg-if",
|
|
176
|
+
"libc",
|
|
177
|
+
"wasi",
|
|
178
|
+
]
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "heck"
|
|
182
|
+
version = "0.5.0"
|
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "indoc"
|
|
188
|
+
version = "2.0.7"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
191
|
+
dependencies = [
|
|
192
|
+
"rustversion",
|
|
193
|
+
]
|
|
194
|
+
|
|
195
|
+
[[package]]
|
|
196
|
+
name = "is_terminal_polyfill"
|
|
197
|
+
version = "1.70.2"
|
|
198
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
199
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
200
|
+
|
|
201
|
+
[[package]]
|
|
202
|
+
name = "itoa"
|
|
203
|
+
version = "1.0.18"
|
|
204
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
205
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "libc"
|
|
209
|
+
version = "0.2.186"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
212
|
+
|
|
213
|
+
[[package]]
|
|
214
|
+
name = "lzcomplexity-cli"
|
|
215
|
+
version = "0.11.0"
|
|
216
|
+
dependencies = [
|
|
217
|
+
"clap",
|
|
218
|
+
"flate2",
|
|
219
|
+
"lzcomplexity-core",
|
|
220
|
+
"rayon",
|
|
221
|
+
"serde",
|
|
222
|
+
"serde_json",
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "lzcomplexity-core"
|
|
227
|
+
version = "0.11.0"
|
|
228
|
+
dependencies = [
|
|
229
|
+
"rand",
|
|
230
|
+
"rand_chacha",
|
|
231
|
+
"rayon",
|
|
232
|
+
"suffix",
|
|
233
|
+
]
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "lzcomplexity-py"
|
|
237
|
+
version = "0.11.0"
|
|
238
|
+
dependencies = [
|
|
239
|
+
"lzcomplexity-core",
|
|
240
|
+
"pyo3",
|
|
241
|
+
]
|
|
242
|
+
|
|
243
|
+
[[package]]
|
|
244
|
+
name = "memchr"
|
|
245
|
+
version = "2.8.3"
|
|
246
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
247
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
248
|
+
|
|
249
|
+
[[package]]
|
|
250
|
+
name = "memoffset"
|
|
251
|
+
version = "0.9.1"
|
|
252
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
254
|
+
dependencies = [
|
|
255
|
+
"autocfg",
|
|
256
|
+
]
|
|
257
|
+
|
|
258
|
+
[[package]]
|
|
259
|
+
name = "miniz_oxide"
|
|
260
|
+
version = "0.8.9"
|
|
261
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
262
|
+
checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
|
|
263
|
+
dependencies = [
|
|
264
|
+
"adler2",
|
|
265
|
+
"simd-adler32",
|
|
266
|
+
]
|
|
267
|
+
|
|
268
|
+
[[package]]
|
|
269
|
+
name = "once_cell"
|
|
270
|
+
version = "1.21.4"
|
|
271
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
272
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
273
|
+
|
|
274
|
+
[[package]]
|
|
275
|
+
name = "once_cell_polyfill"
|
|
276
|
+
version = "1.70.2"
|
|
277
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
278
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "portable-atomic"
|
|
282
|
+
version = "1.13.1"
|
|
283
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "ppv-lite86"
|
|
288
|
+
version = "0.2.21"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
|
|
291
|
+
dependencies = [
|
|
292
|
+
"zerocopy",
|
|
293
|
+
]
|
|
294
|
+
|
|
295
|
+
[[package]]
|
|
296
|
+
name = "proc-macro2"
|
|
297
|
+
version = "1.0.106"
|
|
298
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
300
|
+
dependencies = [
|
|
301
|
+
"unicode-ident",
|
|
302
|
+
]
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "pyo3"
|
|
306
|
+
version = "0.22.6"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "f402062616ab18202ae8319da13fa4279883a2b8a9d9f83f20dbade813ce1884"
|
|
309
|
+
dependencies = [
|
|
310
|
+
"cfg-if",
|
|
311
|
+
"indoc",
|
|
312
|
+
"libc",
|
|
313
|
+
"memoffset",
|
|
314
|
+
"once_cell",
|
|
315
|
+
"portable-atomic",
|
|
316
|
+
"pyo3-build-config",
|
|
317
|
+
"pyo3-ffi",
|
|
318
|
+
"pyo3-macros",
|
|
319
|
+
"unindent",
|
|
320
|
+
]
|
|
321
|
+
|
|
322
|
+
[[package]]
|
|
323
|
+
name = "pyo3-build-config"
|
|
324
|
+
version = "0.22.6"
|
|
325
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
326
|
+
checksum = "b14b5775b5ff446dd1056212d778012cbe8a0fbffd368029fd9e25b514479c38"
|
|
327
|
+
dependencies = [
|
|
328
|
+
"once_cell",
|
|
329
|
+
"target-lexicon",
|
|
330
|
+
]
|
|
331
|
+
|
|
332
|
+
[[package]]
|
|
333
|
+
name = "pyo3-ffi"
|
|
334
|
+
version = "0.22.6"
|
|
335
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
+
checksum = "9ab5bcf04a2cdcbb50c7d6105de943f543f9ed92af55818fd17b660390fc8636"
|
|
337
|
+
dependencies = [
|
|
338
|
+
"libc",
|
|
339
|
+
"pyo3-build-config",
|
|
340
|
+
]
|
|
341
|
+
|
|
342
|
+
[[package]]
|
|
343
|
+
name = "pyo3-macros"
|
|
344
|
+
version = "0.22.6"
|
|
345
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
|
+
checksum = "0fd24d897903a9e6d80b968368a34e1525aeb719d568dba8b3d4bfa5dc67d453"
|
|
347
|
+
dependencies = [
|
|
348
|
+
"proc-macro2",
|
|
349
|
+
"pyo3-macros-backend",
|
|
350
|
+
"quote",
|
|
351
|
+
"syn 2.0.117",
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
[[package]]
|
|
355
|
+
name = "pyo3-macros-backend"
|
|
356
|
+
version = "0.22.6"
|
|
357
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
358
|
+
checksum = "36c011a03ba1e50152b4b394b479826cad97e7a21eb52df179cd91ac411cbfbe"
|
|
359
|
+
dependencies = [
|
|
360
|
+
"heck",
|
|
361
|
+
"proc-macro2",
|
|
362
|
+
"pyo3-build-config",
|
|
363
|
+
"quote",
|
|
364
|
+
"syn 2.0.117",
|
|
365
|
+
]
|
|
366
|
+
|
|
367
|
+
[[package]]
|
|
368
|
+
name = "quote"
|
|
369
|
+
version = "1.0.45"
|
|
370
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
372
|
+
dependencies = [
|
|
373
|
+
"proc-macro2",
|
|
374
|
+
]
|
|
375
|
+
|
|
376
|
+
[[package]]
|
|
377
|
+
name = "rand"
|
|
378
|
+
version = "0.8.6"
|
|
379
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
380
|
+
checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
|
|
381
|
+
dependencies = [
|
|
382
|
+
"libc",
|
|
383
|
+
"rand_chacha",
|
|
384
|
+
"rand_core",
|
|
385
|
+
]
|
|
386
|
+
|
|
387
|
+
[[package]]
|
|
388
|
+
name = "rand_chacha"
|
|
389
|
+
version = "0.3.1"
|
|
390
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
|
392
|
+
dependencies = [
|
|
393
|
+
"ppv-lite86",
|
|
394
|
+
"rand_core",
|
|
395
|
+
]
|
|
396
|
+
|
|
397
|
+
[[package]]
|
|
398
|
+
name = "rand_core"
|
|
399
|
+
version = "0.6.4"
|
|
400
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
401
|
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
402
|
+
dependencies = [
|
|
403
|
+
"getrandom",
|
|
404
|
+
]
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "rayon"
|
|
408
|
+
version = "1.12.0"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
411
|
+
dependencies = [
|
|
412
|
+
"either",
|
|
413
|
+
"rayon-core",
|
|
414
|
+
]
|
|
415
|
+
|
|
416
|
+
[[package]]
|
|
417
|
+
name = "rayon-core"
|
|
418
|
+
version = "1.13.0"
|
|
419
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
420
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
421
|
+
dependencies = [
|
|
422
|
+
"crossbeam-deque",
|
|
423
|
+
"crossbeam-utils",
|
|
424
|
+
]
|
|
425
|
+
|
|
426
|
+
[[package]]
|
|
427
|
+
name = "rustversion"
|
|
428
|
+
version = "1.0.22"
|
|
429
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
430
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
431
|
+
|
|
432
|
+
[[package]]
|
|
433
|
+
name = "serde"
|
|
434
|
+
version = "1.0.229"
|
|
435
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
436
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
437
|
+
dependencies = [
|
|
438
|
+
"serde_core",
|
|
439
|
+
"serde_derive",
|
|
440
|
+
]
|
|
441
|
+
|
|
442
|
+
[[package]]
|
|
443
|
+
name = "serde_core"
|
|
444
|
+
version = "1.0.229"
|
|
445
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
446
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
447
|
+
dependencies = [
|
|
448
|
+
"serde_derive",
|
|
449
|
+
]
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "serde_derive"
|
|
453
|
+
version = "1.0.229"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
456
|
+
dependencies = [
|
|
457
|
+
"proc-macro2",
|
|
458
|
+
"quote",
|
|
459
|
+
"syn 3.0.3",
|
|
460
|
+
]
|
|
461
|
+
|
|
462
|
+
[[package]]
|
|
463
|
+
name = "serde_json"
|
|
464
|
+
version = "1.0.151"
|
|
465
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
466
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
467
|
+
dependencies = [
|
|
468
|
+
"itoa",
|
|
469
|
+
"memchr",
|
|
470
|
+
"serde",
|
|
471
|
+
"serde_core",
|
|
472
|
+
"zmij",
|
|
473
|
+
]
|
|
474
|
+
|
|
475
|
+
[[package]]
|
|
476
|
+
name = "simd-adler32"
|
|
477
|
+
version = "0.3.10"
|
|
478
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
479
|
+
checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
480
|
+
|
|
481
|
+
[[package]]
|
|
482
|
+
name = "strsim"
|
|
483
|
+
version = "0.11.1"
|
|
484
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
485
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
486
|
+
|
|
487
|
+
[[package]]
|
|
488
|
+
name = "suffix"
|
|
489
|
+
version = "1.3.0"
|
|
490
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
491
|
+
checksum = "888734b9b84b66490ad9c6690ed200499b92bb8f4faec5a7bf61633661054199"
|
|
492
|
+
|
|
493
|
+
[[package]]
|
|
494
|
+
name = "syn"
|
|
495
|
+
version = "2.0.117"
|
|
496
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
497
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
498
|
+
dependencies = [
|
|
499
|
+
"proc-macro2",
|
|
500
|
+
"quote",
|
|
501
|
+
"unicode-ident",
|
|
502
|
+
]
|
|
503
|
+
|
|
504
|
+
[[package]]
|
|
505
|
+
name = "syn"
|
|
506
|
+
version = "3.0.3"
|
|
507
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
508
|
+
checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
|
|
509
|
+
dependencies = [
|
|
510
|
+
"proc-macro2",
|
|
511
|
+
"quote",
|
|
512
|
+
"unicode-ident",
|
|
513
|
+
]
|
|
514
|
+
|
|
515
|
+
[[package]]
|
|
516
|
+
name = "target-lexicon"
|
|
517
|
+
version = "0.12.16"
|
|
518
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
519
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
520
|
+
|
|
521
|
+
[[package]]
|
|
522
|
+
name = "unicode-ident"
|
|
523
|
+
version = "1.0.24"
|
|
524
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
525
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
526
|
+
|
|
527
|
+
[[package]]
|
|
528
|
+
name = "unindent"
|
|
529
|
+
version = "0.2.4"
|
|
530
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
531
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
532
|
+
|
|
533
|
+
[[package]]
|
|
534
|
+
name = "utf8parse"
|
|
535
|
+
version = "0.2.2"
|
|
536
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
537
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
538
|
+
|
|
539
|
+
[[package]]
|
|
540
|
+
name = "wasi"
|
|
541
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
542
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
543
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
544
|
+
|
|
545
|
+
[[package]]
|
|
546
|
+
name = "windows-link"
|
|
547
|
+
version = "0.2.1"
|
|
548
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
549
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
550
|
+
|
|
551
|
+
[[package]]
|
|
552
|
+
name = "windows-sys"
|
|
553
|
+
version = "0.61.2"
|
|
554
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
555
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
556
|
+
dependencies = [
|
|
557
|
+
"windows-link",
|
|
558
|
+
]
|
|
559
|
+
|
|
560
|
+
[[package]]
|
|
561
|
+
name = "zerocopy"
|
|
562
|
+
version = "0.8.48"
|
|
563
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
564
|
+
checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
|
|
565
|
+
dependencies = [
|
|
566
|
+
"zerocopy-derive",
|
|
567
|
+
]
|
|
568
|
+
|
|
569
|
+
[[package]]
|
|
570
|
+
name = "zerocopy-derive"
|
|
571
|
+
version = "0.8.48"
|
|
572
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
573
|
+
checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
|
|
574
|
+
dependencies = [
|
|
575
|
+
"proc-macro2",
|
|
576
|
+
"quote",
|
|
577
|
+
"syn 2.0.117",
|
|
578
|
+
]
|
|
579
|
+
|
|
580
|
+
[[package]]
|
|
581
|
+
name = "zmij"
|
|
582
|
+
version = "1.0.23"
|
|
583
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["crates/lzcomplexity-core", "crates/lzcomplexity-py"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.11.0" # x-release-please-version
|
|
7
|
+
edition = "2021"
|
|
8
|
+
rust-version = "1.75"
|
|
9
|
+
license = "MIT"
|
|
10
|
+
authors = [
|
|
11
|
+
"Efren Aragon Perez <efrenaragon96@gmail.com>",
|
|
12
|
+
"Ernesto Estevez Rams <estevez@fisica.uh.cu>",
|
|
13
|
+
]
|
|
14
|
+
repository = "https://github.com/pleros-ai/lzcomplexity"
|
|
15
|
+
|
|
16
|
+
[workspace.dependencies]
|
|
17
|
+
rayon = "1.10"
|
|
18
|
+
rand = "0.8"
|
|
19
|
+
rand_chacha = "0.3"
|
|
20
|
+
suffix = "1.3"
|
|
21
|
+
clap = { version = "4.5", features = ["derive"] }
|
|
22
|
+
serde = { version = "1", features = ["derive"] }
|
|
23
|
+
serde_json = "1"
|
|
24
|
+
flate2 = "1.0"
|
|
25
|
+
|
|
26
|
+
[profile.release]
|
|
27
|
+
lto = "thin"
|
|
28
|
+
codegen-units = 1
|
|
29
|
+
opt-level = 3
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Efren Aragon Perez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|