colordom 0.7.0 → 0.8.0

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: 70f1d73f8533fa1ee0d81528ed8c64ec6ce57c01d98b37a5aa9f996ce057c64c
4
- data.tar.gz: 20fdd1381f9de5ae90531f0c11ab03b464bfc863b5147b6c7a787c3708e190f1
3
+ metadata.gz: 30e3d2955aeca515a0954b711f27a28a5f56f8209d691cd0a0d62342233a3a4c
4
+ data.tar.gz: ab16a833484169dbbfca29b97fe45a37eae9059d594a134adaa94b45d45787c1
5
5
  SHA512:
6
- metadata.gz: 3e9e59022a659db0c912a3d588d2f0262377b4eb9e6d06595a780ab679bfc017fb708e25caad5dea12da123f19b7b6bfdcb619715f2191791d36600b4d0859de
7
- data.tar.gz: e79de7a1f6e3e321c37a5f2be2daa2222b19a71c2a1278443a11a207b1cee69d17aa5a0ebd99514561d41a169bba5751a60187374fe517ffff1a86fcdf9948bc
6
+ metadata.gz: 1f007efa2d93083c74aec5f37dca696d6e8d7a0dfe6aaf025e905acb0ef3e68ca7040fc9782e804cb69a6134b90fd3e3652f4b4ecfda7738ae83378e55500ae2
7
+ data.tar.gz: 7045debdfbcb5bf5e24d012f1bb32124b59345d44a54e171917f849c10d766c0db29f7f85f3a5bf45d21ce932e027595da2f3c15fab42c03d3e685b71f1783c6
@@ -10,9 +10,6 @@ use image::{DynamicImage};
10
10
  use palette_extract::{Quality, MaxColors, PixelEncoding, PixelFilter};
11
11
  use palette::{FromColor, IntoColor, Lab, Pixel, Srgb};
12
12
 
13
- use dominant_color;
14
- use kmeans_colors;
15
-
16
13
  fn colordom_error() -> ExceptionClass {
17
14
  *memoize!(ExceptionClass: {
18
15
  let ex = class::object().const_get::<_, RModule>("Colordom").unwrap().const_get("Error").unwrap();
@@ -129,7 +126,7 @@ impl Image {
129
126
  fn init() -> Result<(), Error> {
130
127
  let module = define_module("Colordom")?;
131
128
 
132
- let colorc = module.define_class("Color", Default::default())?;
129
+ let colorc = module.define_class("Color", class::object())?;
133
130
 
134
131
  colorc.define_singleton_method("new", function!(Color::new, 3))?;
135
132
  colorc.define_method("r", method!(Color::r, 0))?;
@@ -145,7 +142,7 @@ fn init() -> Result<(), Error> {
145
142
  colorc.define_alias("to_rgb", "rgb")?;
146
143
  colorc.define_alias("to_hex", "hex")?;
147
144
 
148
- let imagec = module.define_class("Image", Default::default())?;
145
+ let imagec = module.define_class("Image", class::object())?;
149
146
 
150
147
  imagec.define_singleton_method("new", function!(Image::new, 1))?;
151
148
  imagec.define_method("histogram", method!(Image::histogram, 1))?;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Colordom
4
- VERSION = '0.7.0'
4
+ VERSION = '0.8.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colordom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonian Guveli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-08 00:00:00.000000000 Z
11
+ date: 2023-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys
@@ -78,7 +78,6 @@ files:
78
78
  - CODE_OF_CONDUCT.md
79
79
  - LICENSE.txt
80
80
  - README.md
81
- - ext/colordom/Cargo.lock
82
81
  - ext/colordom/Cargo.toml
83
82
  - ext/colordom/extconf.rb
84
83
  - ext/colordom/src/lib.rs
@@ -106,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
105
  - !ruby/object:Gem::Version
107
106
  version: '0'
108
107
  requirements: []
109
- rubygems_version: 3.4.8
108
+ rubygems_version: 3.4.19
110
109
  signing_key:
111
110
  specification_version: 4
112
111
  summary: Extract dominant colors from images
@@ -1,905 +0,0 @@
1
- # This file is automatically @generated by Cargo.
2
- # It is not intended for manual editing.
3
- version = 3
4
-
5
- [[package]]
6
- name = "adler"
7
- version = "1.0.2"
8
- source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
10
-
11
- [[package]]
12
- name = "aho-corasick"
13
- version = "0.7.20"
14
- source = "registry+https://github.com/rust-lang/crates.io-index"
15
- checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"
16
- dependencies = [
17
- "memchr",
18
- ]
19
-
20
- [[package]]
21
- name = "approx"
22
- version = "0.5.1"
23
- source = "registry+https://github.com/rust-lang/crates.io-index"
24
- checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
25
- dependencies = [
26
- "num-traits",
27
- ]
28
-
29
- [[package]]
30
- name = "autocfg"
31
- version = "1.1.0"
32
- source = "registry+https://github.com/rust-lang/crates.io-index"
33
- checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
34
-
35
- [[package]]
36
- name = "bindgen"
37
- version = "0.60.1"
38
- source = "registry+https://github.com/rust-lang/crates.io-index"
39
- checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6"
40
- dependencies = [
41
- "bitflags",
42
- "cexpr",
43
- "clang-sys",
44
- "lazy_static",
45
- "lazycell",
46
- "peeking_take_while",
47
- "proc-macro2",
48
- "quote",
49
- "regex",
50
- "rustc-hash",
51
- "shlex",
52
- ]
53
-
54
- [[package]]
55
- name = "bit_field"
56
- version = "0.10.2"
57
- source = "registry+https://github.com/rust-lang/crates.io-index"
58
- checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61"
59
-
60
- [[package]]
61
- name = "bitflags"
62
- version = "1.3.2"
63
- source = "registry+https://github.com/rust-lang/crates.io-index"
64
- checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
65
-
66
- [[package]]
67
- name = "bumpalo"
68
- version = "3.12.0"
69
- source = "registry+https://github.com/rust-lang/crates.io-index"
70
- checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
71
-
72
- [[package]]
73
- name = "bytemuck"
74
- version = "1.13.1"
75
- source = "registry+https://github.com/rust-lang/crates.io-index"
76
- checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
77
-
78
- [[package]]
79
- name = "byteorder"
80
- version = "1.4.3"
81
- source = "registry+https://github.com/rust-lang/crates.io-index"
82
- checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
83
-
84
- [[package]]
85
- name = "cexpr"
86
- version = "0.6.0"
87
- source = "registry+https://github.com/rust-lang/crates.io-index"
88
- checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
89
- dependencies = [
90
- "nom",
91
- ]
92
-
93
- [[package]]
94
- name = "cfg-if"
95
- version = "1.0.0"
96
- source = "registry+https://github.com/rust-lang/crates.io-index"
97
- checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
98
-
99
- [[package]]
100
- name = "clang-sys"
101
- version = "1.6.1"
102
- source = "registry+https://github.com/rust-lang/crates.io-index"
103
- checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
104
- dependencies = [
105
- "glob",
106
- "libc",
107
- "libloading",
108
- ]
109
-
110
- [[package]]
111
- name = "color_quant"
112
- version = "1.1.0"
113
- source = "registry+https://github.com/rust-lang/crates.io-index"
114
- checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
115
-
116
- [[package]]
117
- name = "colordom"
118
- version = "0.1.0"
119
- dependencies = [
120
- "dominant_color",
121
- "image",
122
- "kmeans_colors",
123
- "magnus",
124
- "palette",
125
- "palette_extract",
126
- ]
127
-
128
- [[package]]
129
- name = "crc32fast"
130
- version = "1.3.2"
131
- source = "registry+https://github.com/rust-lang/crates.io-index"
132
- checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
133
- dependencies = [
134
- "cfg-if",
135
- ]
136
-
137
- [[package]]
138
- name = "crossbeam-channel"
139
- version = "0.5.7"
140
- source = "registry+https://github.com/rust-lang/crates.io-index"
141
- checksum = "cf2b3e8478797446514c91ef04bafcb59faba183e621ad488df88983cc14128c"
142
- dependencies = [
143
- "cfg-if",
144
- "crossbeam-utils",
145
- ]
146
-
147
- [[package]]
148
- name = "crossbeam-deque"
149
- version = "0.8.3"
150
- source = "registry+https://github.com/rust-lang/crates.io-index"
151
- checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
152
- dependencies = [
153
- "cfg-if",
154
- "crossbeam-epoch",
155
- "crossbeam-utils",
156
- ]
157
-
158
- [[package]]
159
- name = "crossbeam-epoch"
160
- version = "0.9.14"
161
- source = "registry+https://github.com/rust-lang/crates.io-index"
162
- checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695"
163
- dependencies = [
164
- "autocfg",
165
- "cfg-if",
166
- "crossbeam-utils",
167
- "memoffset",
168
- "scopeguard",
169
- ]
170
-
171
- [[package]]
172
- name = "crossbeam-utils"
173
- version = "0.8.15"
174
- source = "registry+https://github.com/rust-lang/crates.io-index"
175
- checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b"
176
- dependencies = [
177
- "cfg-if",
178
- ]
179
-
180
- [[package]]
181
- name = "crunchy"
182
- version = "0.2.2"
183
- source = "registry+https://github.com/rust-lang/crates.io-index"
184
- checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
185
-
186
- [[package]]
187
- name = "dominant_color"
188
- version = "0.3.0"
189
- source = "registry+https://github.com/rust-lang/crates.io-index"
190
- checksum = "2494b5d589b485e8b75ef5e81b4dc271fb0d5814132c308d5d11f0de9b300d96"
191
-
192
- [[package]]
193
- name = "either"
194
- version = "1.8.1"
195
- source = "registry+https://github.com/rust-lang/crates.io-index"
196
- checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
197
-
198
- [[package]]
199
- name = "exr"
200
- version = "1.6.3"
201
- source = "registry+https://github.com/rust-lang/crates.io-index"
202
- checksum = "bdd2162b720141a91a054640662d3edce3d50a944a50ffca5313cd951abb35b4"
203
- dependencies = [
204
- "bit_field",
205
- "flume",
206
- "half",
207
- "lebe",
208
- "miniz_oxide",
209
- "rayon-core",
210
- "smallvec",
211
- "zune-inflate",
212
- ]
213
-
214
- [[package]]
215
- name = "find-crate"
216
- version = "0.6.3"
217
- source = "registry+https://github.com/rust-lang/crates.io-index"
218
- checksum = "59a98bbaacea1c0eb6a0876280051b892eb73594fd90cf3b20e9c817029c57d2"
219
- dependencies = [
220
- "toml",
221
- ]
222
-
223
- [[package]]
224
- name = "flate2"
225
- version = "1.0.25"
226
- source = "registry+https://github.com/rust-lang/crates.io-index"
227
- checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841"
228
- dependencies = [
229
- "crc32fast",
230
- "miniz_oxide",
231
- ]
232
-
233
- [[package]]
234
- name = "flume"
235
- version = "0.10.14"
236
- source = "registry+https://github.com/rust-lang/crates.io-index"
237
- checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577"
238
- dependencies = [
239
- "futures-core",
240
- "futures-sink",
241
- "nanorand",
242
- "pin-project",
243
- "spin",
244
- ]
245
-
246
- [[package]]
247
- name = "futures-core"
248
- version = "0.3.28"
249
- source = "registry+https://github.com/rust-lang/crates.io-index"
250
- checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
251
-
252
- [[package]]
253
- name = "futures-sink"
254
- version = "0.3.28"
255
- source = "registry+https://github.com/rust-lang/crates.io-index"
256
- checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
257
-
258
- [[package]]
259
- name = "getrandom"
260
- version = "0.2.9"
261
- source = "registry+https://github.com/rust-lang/crates.io-index"
262
- checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
263
- dependencies = [
264
- "cfg-if",
265
- "js-sys",
266
- "libc",
267
- "wasi",
268
- "wasm-bindgen",
269
- ]
270
-
271
- [[package]]
272
- name = "gif"
273
- version = "0.12.0"
274
- source = "registry+https://github.com/rust-lang/crates.io-index"
275
- checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"
276
- dependencies = [
277
- "color_quant",
278
- "weezl",
279
- ]
280
-
281
- [[package]]
282
- name = "glob"
283
- version = "0.3.1"
284
- source = "registry+https://github.com/rust-lang/crates.io-index"
285
- checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
286
-
287
- [[package]]
288
- name = "half"
289
- version = "2.2.1"
290
- source = "registry+https://github.com/rust-lang/crates.io-index"
291
- checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0"
292
- dependencies = [
293
- "crunchy",
294
- ]
295
-
296
- [[package]]
297
- name = "hermit-abi"
298
- version = "0.2.6"
299
- source = "registry+https://github.com/rust-lang/crates.io-index"
300
- checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
301
- dependencies = [
302
- "libc",
303
- ]
304
-
305
- [[package]]
306
- name = "image"
307
- version = "0.24.6"
308
- source = "registry+https://github.com/rust-lang/crates.io-index"
309
- checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a"
310
- dependencies = [
311
- "bytemuck",
312
- "byteorder",
313
- "color_quant",
314
- "exr",
315
- "gif",
316
- "jpeg-decoder",
317
- "num-rational",
318
- "num-traits",
319
- "png",
320
- "qoi",
321
- "tiff",
322
- ]
323
-
324
- [[package]]
325
- name = "jpeg-decoder"
326
- version = "0.3.0"
327
- source = "registry+https://github.com/rust-lang/crates.io-index"
328
- checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e"
329
- dependencies = [
330
- "rayon",
331
- ]
332
-
333
- [[package]]
334
- name = "js-sys"
335
- version = "0.3.61"
336
- source = "registry+https://github.com/rust-lang/crates.io-index"
337
- checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730"
338
- dependencies = [
339
- "wasm-bindgen",
340
- ]
341
-
342
- [[package]]
343
- name = "kmeans_colors"
344
- version = "0.5.0"
345
- source = "registry+https://github.com/rust-lang/crates.io-index"
346
- checksum = "1d9f1da1000eb32cea537203e5ea121eb06e66c5e5f3420a1e9f11a57676f55b"
347
- dependencies = [
348
- "palette",
349
- "rand",
350
- "rand_chacha",
351
- ]
352
-
353
- [[package]]
354
- name = "lazy_static"
355
- version = "1.4.0"
356
- source = "registry+https://github.com/rust-lang/crates.io-index"
357
- checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
358
-
359
- [[package]]
360
- name = "lazycell"
361
- version = "1.3.0"
362
- source = "registry+https://github.com/rust-lang/crates.io-index"
363
- checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
364
-
365
- [[package]]
366
- name = "lebe"
367
- version = "0.5.2"
368
- source = "registry+https://github.com/rust-lang/crates.io-index"
369
- checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
370
-
371
- [[package]]
372
- name = "libc"
373
- version = "0.2.141"
374
- source = "registry+https://github.com/rust-lang/crates.io-index"
375
- checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
376
-
377
- [[package]]
378
- name = "libloading"
379
- version = "0.7.4"
380
- source = "registry+https://github.com/rust-lang/crates.io-index"
381
- checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
382
- dependencies = [
383
- "cfg-if",
384
- "winapi",
385
- ]
386
-
387
- [[package]]
388
- name = "lock_api"
389
- version = "0.4.9"
390
- source = "registry+https://github.com/rust-lang/crates.io-index"
391
- checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
392
- dependencies = [
393
- "autocfg",
394
- "scopeguard",
395
- ]
396
-
397
- [[package]]
398
- name = "log"
399
- version = "0.4.17"
400
- source = "registry+https://github.com/rust-lang/crates.io-index"
401
- checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
402
- dependencies = [
403
- "cfg-if",
404
- ]
405
-
406
- [[package]]
407
- name = "magnus"
408
- version = "0.5.3"
409
- source = "registry+https://github.com/rust-lang/crates.io-index"
410
- checksum = "c8dc14463c2552e753ef562961f486ca76f17a857c121db40e9f3ade3f35ab81"
411
- dependencies = [
412
- "magnus-macros",
413
- "rb-sys",
414
- "rb-sys-env",
415
- ]
416
-
417
- [[package]]
418
- name = "magnus-macros"
419
- version = "0.4.1"
420
- source = "registry+https://github.com/rust-lang/crates.io-index"
421
- checksum = "6cc17af1d45442c011aa579d727ec6cff8a69aea8a6bbad26736e7112d749bfb"
422
- dependencies = [
423
- "proc-macro2",
424
- "quote",
425
- "syn",
426
- ]
427
-
428
- [[package]]
429
- name = "memchr"
430
- version = "2.5.0"
431
- source = "registry+https://github.com/rust-lang/crates.io-index"
432
- checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
433
-
434
- [[package]]
435
- name = "memoffset"
436
- version = "0.8.0"
437
- source = "registry+https://github.com/rust-lang/crates.io-index"
438
- checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
439
- dependencies = [
440
- "autocfg",
441
- ]
442
-
443
- [[package]]
444
- name = "minimal-lexical"
445
- version = "0.2.1"
446
- source = "registry+https://github.com/rust-lang/crates.io-index"
447
- checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
448
-
449
- [[package]]
450
- name = "miniz_oxide"
451
- version = "0.6.2"
452
- source = "registry+https://github.com/rust-lang/crates.io-index"
453
- checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
454
- dependencies = [
455
- "adler",
456
- ]
457
-
458
- [[package]]
459
- name = "nanorand"
460
- version = "0.7.0"
461
- source = "registry+https://github.com/rust-lang/crates.io-index"
462
- checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3"
463
- dependencies = [
464
- "getrandom",
465
- ]
466
-
467
- [[package]]
468
- name = "nom"
469
- version = "7.1.3"
470
- source = "registry+https://github.com/rust-lang/crates.io-index"
471
- checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
472
- dependencies = [
473
- "memchr",
474
- "minimal-lexical",
475
- ]
476
-
477
- [[package]]
478
- name = "num-integer"
479
- version = "0.1.45"
480
- source = "registry+https://github.com/rust-lang/crates.io-index"
481
- checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
482
- dependencies = [
483
- "autocfg",
484
- "num-traits",
485
- ]
486
-
487
- [[package]]
488
- name = "num-rational"
489
- version = "0.4.1"
490
- source = "registry+https://github.com/rust-lang/crates.io-index"
491
- checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
492
- dependencies = [
493
- "autocfg",
494
- "num-integer",
495
- "num-traits",
496
- ]
497
-
498
- [[package]]
499
- name = "num-traits"
500
- version = "0.2.15"
501
- source = "registry+https://github.com/rust-lang/crates.io-index"
502
- checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
503
- dependencies = [
504
- "autocfg",
505
- ]
506
-
507
- [[package]]
508
- name = "num_cpus"
509
- version = "1.15.0"
510
- source = "registry+https://github.com/rust-lang/crates.io-index"
511
- checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
512
- dependencies = [
513
- "hermit-abi",
514
- "libc",
515
- ]
516
-
517
- [[package]]
518
- name = "once_cell"
519
- version = "1.17.1"
520
- source = "registry+https://github.com/rust-lang/crates.io-index"
521
- checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
522
-
523
- [[package]]
524
- name = "palette"
525
- version = "0.6.1"
526
- source = "registry+https://github.com/rust-lang/crates.io-index"
527
- checksum = "8f9cd68f7112581033f157e56c77ac4a5538ec5836a2e39284e65bd7d7275e49"
528
- dependencies = [
529
- "approx",
530
- "num-traits",
531
- "palette_derive",
532
- ]
533
-
534
- [[package]]
535
- name = "palette_derive"
536
- version = "0.6.1"
537
- source = "registry+https://github.com/rust-lang/crates.io-index"
538
- checksum = "05eedf46a8e7c27f74af0c9cfcdb004ceca158cb1b918c6f68f8d7a549b3e427"
539
- dependencies = [
540
- "find-crate",
541
- "proc-macro2",
542
- "quote",
543
- "syn",
544
- ]
545
-
546
- [[package]]
547
- name = "palette_extract"
548
- version = "0.1.0"
549
- source = "registry+https://github.com/rust-lang/crates.io-index"
550
- checksum = "37152de66c36e76d4637af2a51310ede2c0e42b80357fa517bf1b595b56489a4"
551
-
552
- [[package]]
553
- name = "peeking_take_while"
554
- version = "0.1.2"
555
- source = "registry+https://github.com/rust-lang/crates.io-index"
556
- checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
557
-
558
- [[package]]
559
- name = "pin-project"
560
- version = "1.0.12"
561
- source = "registry+https://github.com/rust-lang/crates.io-index"
562
- checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc"
563
- dependencies = [
564
- "pin-project-internal",
565
- ]
566
-
567
- [[package]]
568
- name = "pin-project-internal"
569
- version = "1.0.12"
570
- source = "registry+https://github.com/rust-lang/crates.io-index"
571
- checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55"
572
- dependencies = [
573
- "proc-macro2",
574
- "quote",
575
- "syn",
576
- ]
577
-
578
- [[package]]
579
- name = "png"
580
- version = "0.17.7"
581
- source = "registry+https://github.com/rust-lang/crates.io-index"
582
- checksum = "5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638"
583
- dependencies = [
584
- "bitflags",
585
- "crc32fast",
586
- "flate2",
587
- "miniz_oxide",
588
- ]
589
-
590
- [[package]]
591
- name = "ppv-lite86"
592
- version = "0.2.17"
593
- source = "registry+https://github.com/rust-lang/crates.io-index"
594
- checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
595
-
596
- [[package]]
597
- name = "proc-macro2"
598
- version = "1.0.56"
599
- source = "registry+https://github.com/rust-lang/crates.io-index"
600
- checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
601
- dependencies = [
602
- "unicode-ident",
603
- ]
604
-
605
- [[package]]
606
- name = "qoi"
607
- version = "0.4.1"
608
- source = "registry+https://github.com/rust-lang/crates.io-index"
609
- checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"
610
- dependencies = [
611
- "bytemuck",
612
- ]
613
-
614
- [[package]]
615
- name = "quote"
616
- version = "1.0.26"
617
- source = "registry+https://github.com/rust-lang/crates.io-index"
618
- checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
619
- dependencies = [
620
- "proc-macro2",
621
- ]
622
-
623
- [[package]]
624
- name = "rand"
625
- version = "0.8.5"
626
- source = "registry+https://github.com/rust-lang/crates.io-index"
627
- checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
628
- dependencies = [
629
- "libc",
630
- "rand_chacha",
631
- "rand_core",
632
- ]
633
-
634
- [[package]]
635
- name = "rand_chacha"
636
- version = "0.3.1"
637
- source = "registry+https://github.com/rust-lang/crates.io-index"
638
- checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
639
- dependencies = [
640
- "ppv-lite86",
641
- "rand_core",
642
- ]
643
-
644
- [[package]]
645
- name = "rand_core"
646
- version = "0.6.4"
647
- source = "registry+https://github.com/rust-lang/crates.io-index"
648
- checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
649
- dependencies = [
650
- "getrandom",
651
- ]
652
-
653
- [[package]]
654
- name = "rayon"
655
- version = "1.7.0"
656
- source = "registry+https://github.com/rust-lang/crates.io-index"
657
- checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
658
- dependencies = [
659
- "either",
660
- "rayon-core",
661
- ]
662
-
663
- [[package]]
664
- name = "rayon-core"
665
- version = "1.11.0"
666
- source = "registry+https://github.com/rust-lang/crates.io-index"
667
- checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
668
- dependencies = [
669
- "crossbeam-channel",
670
- "crossbeam-deque",
671
- "crossbeam-utils",
672
- "num_cpus",
673
- ]
674
-
675
- [[package]]
676
- name = "rb-sys"
677
- version = "0.9.71"
678
- source = "registry+https://github.com/rust-lang/crates.io-index"
679
- checksum = "156bfedced1e236600bcaad538477097ff2ed5c6b474e411d15b791e1d24c0f1"
680
- dependencies = [
681
- "rb-sys-build",
682
- ]
683
-
684
- [[package]]
685
- name = "rb-sys-build"
686
- version = "0.9.71"
687
- source = "registry+https://github.com/rust-lang/crates.io-index"
688
- checksum = "5cb2e4a32cbc290b543a74567072ad24b708aff7bb5dde5a68d5690379cd7938"
689
- dependencies = [
690
- "bindgen",
691
- "lazy_static",
692
- "proc-macro2",
693
- "quote",
694
- "regex",
695
- "shell-words",
696
- "syn",
697
- ]
698
-
699
- [[package]]
700
- name = "rb-sys-env"
701
- version = "0.1.2"
702
- source = "registry+https://github.com/rust-lang/crates.io-index"
703
- checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
704
-
705
- [[package]]
706
- name = "regex"
707
- version = "1.7.3"
708
- source = "registry+https://github.com/rust-lang/crates.io-index"
709
- checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d"
710
- dependencies = [
711
- "aho-corasick",
712
- "memchr",
713
- "regex-syntax",
714
- ]
715
-
716
- [[package]]
717
- name = "regex-syntax"
718
- version = "0.6.29"
719
- source = "registry+https://github.com/rust-lang/crates.io-index"
720
- checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
721
-
722
- [[package]]
723
- name = "rustc-hash"
724
- version = "1.1.0"
725
- source = "registry+https://github.com/rust-lang/crates.io-index"
726
- checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
727
-
728
- [[package]]
729
- name = "scopeguard"
730
- version = "1.1.0"
731
- source = "registry+https://github.com/rust-lang/crates.io-index"
732
- checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
733
-
734
- [[package]]
735
- name = "serde"
736
- version = "1.0.159"
737
- source = "registry+https://github.com/rust-lang/crates.io-index"
738
- checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065"
739
-
740
- [[package]]
741
- name = "shell-words"
742
- version = "1.1.0"
743
- source = "registry+https://github.com/rust-lang/crates.io-index"
744
- checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
745
-
746
- [[package]]
747
- name = "shlex"
748
- version = "1.1.0"
749
- source = "registry+https://github.com/rust-lang/crates.io-index"
750
- checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
751
-
752
- [[package]]
753
- name = "simd-adler32"
754
- version = "0.3.5"
755
- source = "registry+https://github.com/rust-lang/crates.io-index"
756
- checksum = "238abfbb77c1915110ad968465608b68e869e0772622c9656714e73e5a1a522f"
757
-
758
- [[package]]
759
- name = "smallvec"
760
- version = "1.10.0"
761
- source = "registry+https://github.com/rust-lang/crates.io-index"
762
- checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
763
-
764
- [[package]]
765
- name = "spin"
766
- version = "0.9.8"
767
- source = "registry+https://github.com/rust-lang/crates.io-index"
768
- checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
769
- dependencies = [
770
- "lock_api",
771
- ]
772
-
773
- [[package]]
774
- name = "syn"
775
- version = "1.0.109"
776
- source = "registry+https://github.com/rust-lang/crates.io-index"
777
- checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
778
- dependencies = [
779
- "proc-macro2",
780
- "quote",
781
- "unicode-ident",
782
- ]
783
-
784
- [[package]]
785
- name = "tiff"
786
- version = "0.8.1"
787
- source = "registry+https://github.com/rust-lang/crates.io-index"
788
- checksum = "7449334f9ff2baf290d55d73983a7d6fa15e01198faef72af07e2a8db851e471"
789
- dependencies = [
790
- "flate2",
791
- "jpeg-decoder",
792
- "weezl",
793
- ]
794
-
795
- [[package]]
796
- name = "toml"
797
- version = "0.5.11"
798
- source = "registry+https://github.com/rust-lang/crates.io-index"
799
- checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
800
- dependencies = [
801
- "serde",
802
- ]
803
-
804
- [[package]]
805
- name = "unicode-ident"
806
- version = "1.0.8"
807
- source = "registry+https://github.com/rust-lang/crates.io-index"
808
- checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
809
-
810
- [[package]]
811
- name = "wasi"
812
- version = "0.11.0+wasi-snapshot-preview1"
813
- source = "registry+https://github.com/rust-lang/crates.io-index"
814
- checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
815
-
816
- [[package]]
817
- name = "wasm-bindgen"
818
- version = "0.2.84"
819
- source = "registry+https://github.com/rust-lang/crates.io-index"
820
- checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b"
821
- dependencies = [
822
- "cfg-if",
823
- "wasm-bindgen-macro",
824
- ]
825
-
826
- [[package]]
827
- name = "wasm-bindgen-backend"
828
- version = "0.2.84"
829
- source = "registry+https://github.com/rust-lang/crates.io-index"
830
- checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9"
831
- dependencies = [
832
- "bumpalo",
833
- "log",
834
- "once_cell",
835
- "proc-macro2",
836
- "quote",
837
- "syn",
838
- "wasm-bindgen-shared",
839
- ]
840
-
841
- [[package]]
842
- name = "wasm-bindgen-macro"
843
- version = "0.2.84"
844
- source = "registry+https://github.com/rust-lang/crates.io-index"
845
- checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5"
846
- dependencies = [
847
- "quote",
848
- "wasm-bindgen-macro-support",
849
- ]
850
-
851
- [[package]]
852
- name = "wasm-bindgen-macro-support"
853
- version = "0.2.84"
854
- source = "registry+https://github.com/rust-lang/crates.io-index"
855
- checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6"
856
- dependencies = [
857
- "proc-macro2",
858
- "quote",
859
- "syn",
860
- "wasm-bindgen-backend",
861
- "wasm-bindgen-shared",
862
- ]
863
-
864
- [[package]]
865
- name = "wasm-bindgen-shared"
866
- version = "0.2.84"
867
- source = "registry+https://github.com/rust-lang/crates.io-index"
868
- checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d"
869
-
870
- [[package]]
871
- name = "weezl"
872
- version = "0.1.7"
873
- source = "registry+https://github.com/rust-lang/crates.io-index"
874
- checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb"
875
-
876
- [[package]]
877
- name = "winapi"
878
- version = "0.3.9"
879
- source = "registry+https://github.com/rust-lang/crates.io-index"
880
- checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
881
- dependencies = [
882
- "winapi-i686-pc-windows-gnu",
883
- "winapi-x86_64-pc-windows-gnu",
884
- ]
885
-
886
- [[package]]
887
- name = "winapi-i686-pc-windows-gnu"
888
- version = "0.4.0"
889
- source = "registry+https://github.com/rust-lang/crates.io-index"
890
- checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
891
-
892
- [[package]]
893
- name = "winapi-x86_64-pc-windows-gnu"
894
- version = "0.4.0"
895
- source = "registry+https://github.com/rust-lang/crates.io-index"
896
- checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
897
-
898
- [[package]]
899
- name = "zune-inflate"
900
- version = "0.2.53"
901
- source = "registry+https://github.com/rust-lang/crates.io-index"
902
- checksum = "440a08fd59c6442e4b846ea9b10386c38307eae728b216e1ab2c305d1c9daaf8"
903
- dependencies = [
904
- "simd-adler32",
905
- ]