colordom 0.6.0 → 0.7.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: 62b785f892ebe65a33becac3fd5e8543c19fa3b5576feb4a9a01c8f3b6797b54
4
- data.tar.gz: 8532641a0379ae5fae28c97c214a71193231e00423a8f459d3acac27f3a9207c
3
+ metadata.gz: 70f1d73f8533fa1ee0d81528ed8c64ec6ce57c01d98b37a5aa9f996ce057c64c
4
+ data.tar.gz: 20fdd1381f9de5ae90531f0c11ab03b464bfc863b5147b6c7a787c3708e190f1
5
5
  SHA512:
6
- metadata.gz: feb6db561a2ed9df07f4e3f3d467be59cc81d4212103a00ad9d4336068b282ca6dd8f43cf7b90ec8acb80497d07486e487fc9a8759e7d7e4a9b1ced75c66ec62
7
- data.tar.gz: 0efc3fa376b36b92cd5cc9c66ecb77acce5699f2c7fbc1b6d1c6e4a3c703613ac3ba8d8bcf6ae7c810e3e6f0d3d9f634f940fe6f0f810aaaa1af79513e74a76c
6
+ metadata.gz: 3e9e59022a659db0c912a3d588d2f0262377b4eb9e6d06595a780ab679bfc017fb708e25caad5dea12da123f19b7b6bfdcb619715f2191791d36600b4d0859de
7
+ data.tar.gz: e79de7a1f6e3e321c37a5f2be2daa2222b19a71c2a1278443a11a207b1cee69d17aa5a0ebd99514561d41a169bba5751a60187374fe517ffff1a86fcdf9948bc
@@ -53,9 +53,9 @@ dependencies = [
53
53
 
54
54
  [[package]]
55
55
  name = "bit_field"
56
- version = "0.10.1"
56
+ version = "0.10.2"
57
57
  source = "registry+https://github.com/rust-lang/crates.io-index"
58
- checksum = "dcb6dd1c2376d2e096796e234a70e17e94cc2d5d54ff8ce42b28cef1d0d359a4"
58
+ checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61"
59
59
 
60
60
  [[package]]
61
61
  name = "bitflags"
@@ -65,15 +65,15 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
65
65
 
66
66
  [[package]]
67
67
  name = "bumpalo"
68
- version = "3.11.1"
68
+ version = "3.12.0"
69
69
  source = "registry+https://github.com/rust-lang/crates.io-index"
70
- checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba"
70
+ checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
71
71
 
72
72
  [[package]]
73
73
  name = "bytemuck"
74
- version = "1.12.3"
74
+ version = "1.13.1"
75
75
  source = "registry+https://github.com/rust-lang/crates.io-index"
76
- checksum = "aaa3a8d9a1ca92e282c96a32d6511b695d7d994d1d102ba85d279f9b2756947f"
76
+ checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
77
77
 
78
78
  [[package]]
79
79
  name = "byteorder"
@@ -98,9 +98,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
98
98
 
99
99
  [[package]]
100
100
  name = "clang-sys"
101
- version = "1.4.0"
101
+ version = "1.6.1"
102
102
  source = "registry+https://github.com/rust-lang/crates.io-index"
103
- checksum = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3"
103
+ checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
104
104
  dependencies = [
105
105
  "glob",
106
106
  "libc",
@@ -136,9 +136,9 @@ dependencies = [
136
136
 
137
137
  [[package]]
138
138
  name = "crossbeam-channel"
139
- version = "0.5.6"
139
+ version = "0.5.7"
140
140
  source = "registry+https://github.com/rust-lang/crates.io-index"
141
- checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
141
+ checksum = "cf2b3e8478797446514c91ef04bafcb59faba183e621ad488df88983cc14128c"
142
142
  dependencies = [
143
143
  "cfg-if",
144
144
  "crossbeam-utils",
@@ -146,9 +146,9 @@ dependencies = [
146
146
 
147
147
  [[package]]
148
148
  name = "crossbeam-deque"
149
- version = "0.8.2"
149
+ version = "0.8.3"
150
150
  source = "registry+https://github.com/rust-lang/crates.io-index"
151
- checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
151
+ checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
152
152
  dependencies = [
153
153
  "cfg-if",
154
154
  "crossbeam-epoch",
@@ -157,9 +157,9 @@ dependencies = [
157
157
 
158
158
  [[package]]
159
159
  name = "crossbeam-epoch"
160
- version = "0.9.13"
160
+ version = "0.9.14"
161
161
  source = "registry+https://github.com/rust-lang/crates.io-index"
162
- checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a"
162
+ checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695"
163
163
  dependencies = [
164
164
  "autocfg",
165
165
  "cfg-if",
@@ -170,9 +170,9 @@ dependencies = [
170
170
 
171
171
  [[package]]
172
172
  name = "crossbeam-utils"
173
- version = "0.8.14"
173
+ version = "0.8.15"
174
174
  source = "registry+https://github.com/rust-lang/crates.io-index"
175
- checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
175
+ checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b"
176
176
  dependencies = [
177
177
  "cfg-if",
178
178
  ]
@@ -191,23 +191,24 @@ checksum = "2494b5d589b485e8b75ef5e81b4dc271fb0d5814132c308d5d11f0de9b300d96"
191
191
 
192
192
  [[package]]
193
193
  name = "either"
194
- version = "1.8.0"
194
+ version = "1.8.1"
195
195
  source = "registry+https://github.com/rust-lang/crates.io-index"
196
- checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
196
+ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
197
197
 
198
198
  [[package]]
199
199
  name = "exr"
200
- version = "1.5.2"
200
+ version = "1.6.3"
201
201
  source = "registry+https://github.com/rust-lang/crates.io-index"
202
- checksum = "8eb5f255b5980bb0c8cf676b675d1a99be40f316881444f44e0462eaf5df5ded"
202
+ checksum = "bdd2162b720141a91a054640662d3edce3d50a944a50ffca5313cd951abb35b4"
203
203
  dependencies = [
204
204
  "bit_field",
205
205
  "flume",
206
206
  "half",
207
207
  "lebe",
208
208
  "miniz_oxide",
209
+ "rayon-core",
209
210
  "smallvec",
210
- "threadpool",
211
+ "zune-inflate",
211
212
  ]
212
213
 
213
214
  [[package]]
@@ -244,21 +245,21 @@ dependencies = [
244
245
 
245
246
  [[package]]
246
247
  name = "futures-core"
247
- version = "0.3.25"
248
+ version = "0.3.28"
248
249
  source = "registry+https://github.com/rust-lang/crates.io-index"
249
- checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac"
250
+ checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
250
251
 
251
252
  [[package]]
252
253
  name = "futures-sink"
253
- version = "0.3.25"
254
+ version = "0.3.28"
254
255
  source = "registry+https://github.com/rust-lang/crates.io-index"
255
- checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9"
256
+ checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
256
257
 
257
258
  [[package]]
258
259
  name = "getrandom"
259
- version = "0.2.8"
260
+ version = "0.2.9"
260
261
  source = "registry+https://github.com/rust-lang/crates.io-index"
261
- checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
262
+ checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
262
263
  dependencies = [
263
264
  "cfg-if",
264
265
  "js-sys",
@@ -269,9 +270,9 @@ dependencies = [
269
270
 
270
271
  [[package]]
271
272
  name = "gif"
272
- version = "0.11.4"
273
+ version = "0.12.0"
273
274
  source = "registry+https://github.com/rust-lang/crates.io-index"
274
- checksum = "3edd93c6756b4dfaf2709eafcc345ba2636565295c198a9cfbf75fa5e3e00b06"
275
+ checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"
275
276
  dependencies = [
276
277
  "color_quant",
277
278
  "weezl",
@@ -279,33 +280,33 @@ dependencies = [
279
280
 
280
281
  [[package]]
281
282
  name = "glob"
282
- version = "0.3.0"
283
+ version = "0.3.1"
283
284
  source = "registry+https://github.com/rust-lang/crates.io-index"
284
- checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
285
+ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
285
286
 
286
287
  [[package]]
287
288
  name = "half"
288
- version = "2.1.0"
289
+ version = "2.2.1"
289
290
  source = "registry+https://github.com/rust-lang/crates.io-index"
290
- checksum = "ad6a9459c9c30b177b925162351f97e7d967c7ea8bab3b8352805327daf45554"
291
+ checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0"
291
292
  dependencies = [
292
293
  "crunchy",
293
294
  ]
294
295
 
295
296
  [[package]]
296
297
  name = "hermit-abi"
297
- version = "0.1.19"
298
+ version = "0.2.6"
298
299
  source = "registry+https://github.com/rust-lang/crates.io-index"
299
- checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
300
+ checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
300
301
  dependencies = [
301
302
  "libc",
302
303
  ]
303
304
 
304
305
  [[package]]
305
306
  name = "image"
306
- version = "0.24.5"
307
+ version = "0.24.6"
307
308
  source = "registry+https://github.com/rust-lang/crates.io-index"
308
- checksum = "69b7ea949b537b0fd0af141fff8c77690f2ce96f4f41f042ccb6c69c6c965945"
309
+ checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a"
309
310
  dependencies = [
310
311
  "bytemuck",
311
312
  "byteorder",
@@ -316,7 +317,7 @@ dependencies = [
316
317
  "num-rational",
317
318
  "num-traits",
318
319
  "png",
319
- "scoped_threadpool",
320
+ "qoi",
320
321
  "tiff",
321
322
  ]
322
323
 
@@ -331,9 +332,9 @@ dependencies = [
331
332
 
332
333
  [[package]]
333
334
  name = "js-sys"
334
- version = "0.3.60"
335
+ version = "0.3.61"
335
336
  source = "registry+https://github.com/rust-lang/crates.io-index"
336
- checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47"
337
+ checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730"
337
338
  dependencies = [
338
339
  "wasm-bindgen",
339
340
  ]
@@ -369,9 +370,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
369
370
 
370
371
  [[package]]
371
372
  name = "libc"
372
- version = "0.2.138"
373
+ version = "0.2.141"
373
374
  source = "registry+https://github.com/rust-lang/crates.io-index"
374
- checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8"
375
+ checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
375
376
 
376
377
  [[package]]
377
378
  name = "libloading"
@@ -404,9 +405,9 @@ dependencies = [
404
405
 
405
406
  [[package]]
406
407
  name = "magnus"
407
- version = "0.4.3"
408
+ version = "0.5.3"
408
409
  source = "registry+https://github.com/rust-lang/crates.io-index"
409
- checksum = "c7d904f55da4e2b0ac7f133257af80580ff4ca17bcca67f51ea06be46aa634ac"
410
+ checksum = "c8dc14463c2552e753ef562961f486ca76f17a857c121db40e9f3ade3f35ab81"
410
411
  dependencies = [
411
412
  "magnus-macros",
412
413
  "rb-sys",
@@ -415,9 +416,9 @@ dependencies = [
415
416
 
416
417
  [[package]]
417
418
  name = "magnus-macros"
418
- version = "0.2.0"
419
+ version = "0.4.1"
419
420
  source = "registry+https://github.com/rust-lang/crates.io-index"
420
- checksum = "acc8ba6908cb0f67a4e75cb48fc81a1f0e6a6dd1501936e0c9e2c7c8f9f18e05"
421
+ checksum = "6cc17af1d45442c011aa579d727ec6cff8a69aea8a6bbad26736e7112d749bfb"
421
422
  dependencies = [
422
423
  "proc-macro2",
423
424
  "quote",
@@ -432,9 +433,9 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
432
433
 
433
434
  [[package]]
434
435
  name = "memoffset"
435
- version = "0.7.1"
436
+ version = "0.8.0"
436
437
  source = "registry+https://github.com/rust-lang/crates.io-index"
437
- checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
438
+ checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
438
439
  dependencies = [
439
440
  "autocfg",
440
441
  ]
@@ -465,9 +466,9 @@ dependencies = [
465
466
 
466
467
  [[package]]
467
468
  name = "nom"
468
- version = "7.1.1"
469
+ version = "7.1.3"
469
470
  source = "registry+https://github.com/rust-lang/crates.io-index"
470
- checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
471
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
471
472
  dependencies = [
472
473
  "memchr",
473
474
  "minimal-lexical",
@@ -505,9 +506,9 @@ dependencies = [
505
506
 
506
507
  [[package]]
507
508
  name = "num_cpus"
508
- version = "1.14.0"
509
+ version = "1.15.0"
509
510
  source = "registry+https://github.com/rust-lang/crates.io-index"
510
- checksum = "f6058e64324c71e02bc2b150e4f3bc8286db6c83092132ffa3f6b1eab0f9def5"
511
+ checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
511
512
  dependencies = [
512
513
  "hermit-abi",
513
514
  "libc",
@@ -515,9 +516,9 @@ dependencies = [
515
516
 
516
517
  [[package]]
517
518
  name = "once_cell"
518
- version = "1.16.0"
519
+ version = "1.17.1"
519
520
  source = "registry+https://github.com/rust-lang/crates.io-index"
520
- checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860"
521
+ checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
521
522
 
522
523
  [[package]]
523
524
  name = "palette"
@@ -594,18 +595,27 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
594
595
 
595
596
  [[package]]
596
597
  name = "proc-macro2"
597
- version = "1.0.48"
598
+ version = "1.0.56"
598
599
  source = "registry+https://github.com/rust-lang/crates.io-index"
599
- checksum = "e9d89e5dba24725ae5678020bf8f1357a9aa7ff10736b551adbcd3f8d17d766f"
600
+ checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
600
601
  dependencies = [
601
602
  "unicode-ident",
602
603
  ]
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
+
604
614
  [[package]]
605
615
  name = "quote"
606
- version = "1.0.22"
616
+ version = "1.0.26"
607
617
  source = "registry+https://github.com/rust-lang/crates.io-index"
608
- checksum = "556d0f47a940e895261e77dc200d5eadfc6ef644c179c6f5edfc105e3a2292c8"
618
+ checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
609
619
  dependencies = [
610
620
  "proc-macro2",
611
621
  ]
@@ -642,9 +652,9 @@ dependencies = [
642
652
 
643
653
  [[package]]
644
654
  name = "rayon"
645
- version = "1.6.1"
655
+ version = "1.7.0"
646
656
  source = "registry+https://github.com/rust-lang/crates.io-index"
647
- checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7"
657
+ checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
648
658
  dependencies = [
649
659
  "either",
650
660
  "rayon-core",
@@ -652,9 +662,9 @@ dependencies = [
652
662
 
653
663
  [[package]]
654
664
  name = "rayon-core"
655
- version = "1.10.1"
665
+ version = "1.11.0"
656
666
  source = "registry+https://github.com/rust-lang/crates.io-index"
657
- checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3"
667
+ checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
658
668
  dependencies = [
659
669
  "crossbeam-channel",
660
670
  "crossbeam-deque",
@@ -664,35 +674,39 @@ dependencies = [
664
674
 
665
675
  [[package]]
666
676
  name = "rb-sys"
667
- version = "0.9.52"
677
+ version = "0.9.71"
668
678
  source = "registry+https://github.com/rust-lang/crates.io-index"
669
- checksum = "02fffdb0162fc4cc1b6509b2d9b32a75f7e7ed392f58bde639e0c33b23e74b97"
679
+ checksum = "156bfedced1e236600bcaad538477097ff2ed5c6b474e411d15b791e1d24c0f1"
670
680
  dependencies = [
671
681
  "rb-sys-build",
672
682
  ]
673
683
 
674
684
  [[package]]
675
685
  name = "rb-sys-build"
676
- version = "0.9.52"
686
+ version = "0.9.71"
677
687
  source = "registry+https://github.com/rust-lang/crates.io-index"
678
- checksum = "85d1a236755f879fc155d16d9ba4cd3b1975fd52ef6a28113702ae3881b73c03"
688
+ checksum = "5cb2e4a32cbc290b543a74567072ad24b708aff7bb5dde5a68d5690379cd7938"
679
689
  dependencies = [
680
690
  "bindgen",
691
+ "lazy_static",
692
+ "proc-macro2",
693
+ "quote",
681
694
  "regex",
682
695
  "shell-words",
696
+ "syn",
683
697
  ]
684
698
 
685
699
  [[package]]
686
700
  name = "rb-sys-env"
687
- version = "0.1.1"
701
+ version = "0.1.2"
688
702
  source = "registry+https://github.com/rust-lang/crates.io-index"
689
- checksum = "74c38752410925faeb82c400c06ba2fd9ee6aa8f719dd33994c9e53f5242d25f"
703
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
690
704
 
691
705
  [[package]]
692
706
  name = "regex"
693
- version = "1.7.0"
707
+ version = "1.7.3"
694
708
  source = "registry+https://github.com/rust-lang/crates.io-index"
695
- checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a"
709
+ checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d"
696
710
  dependencies = [
697
711
  "aho-corasick",
698
712
  "memchr",
@@ -701,9 +715,9 @@ dependencies = [
701
715
 
702
716
  [[package]]
703
717
  name = "regex-syntax"
704
- version = "0.6.28"
718
+ version = "0.6.29"
705
719
  source = "registry+https://github.com/rust-lang/crates.io-index"
706
- checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848"
720
+ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
707
721
 
708
722
  [[package]]
709
723
  name = "rustc-hash"
@@ -711,12 +725,6 @@ version = "1.1.0"
711
725
  source = "registry+https://github.com/rust-lang/crates.io-index"
712
726
  checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
713
727
 
714
- [[package]]
715
- name = "scoped_threadpool"
716
- version = "0.1.9"
717
- source = "registry+https://github.com/rust-lang/crates.io-index"
718
- checksum = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8"
719
-
720
728
  [[package]]
721
729
  name = "scopeguard"
722
730
  version = "1.1.0"
@@ -725,9 +733,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
725
733
 
726
734
  [[package]]
727
735
  name = "serde"
728
- version = "1.0.151"
736
+ version = "1.0.159"
729
737
  source = "registry+https://github.com/rust-lang/crates.io-index"
730
- checksum = "97fed41fc1a24994d044e6db6935e69511a1153b52c15eb42493b26fa87feba0"
738
+ checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065"
731
739
 
732
740
  [[package]]
733
741
  name = "shell-words"
@@ -741,6 +749,12 @@ version = "1.1.0"
741
749
  source = "registry+https://github.com/rust-lang/crates.io-index"
742
750
  checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
743
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
+
744
758
  [[package]]
745
759
  name = "smallvec"
746
760
  version = "1.10.0"
@@ -749,33 +763,24 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
749
763
 
750
764
  [[package]]
751
765
  name = "spin"
752
- version = "0.9.4"
766
+ version = "0.9.8"
753
767
  source = "registry+https://github.com/rust-lang/crates.io-index"
754
- checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09"
768
+ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
755
769
  dependencies = [
756
770
  "lock_api",
757
771
  ]
758
772
 
759
773
  [[package]]
760
774
  name = "syn"
761
- version = "1.0.106"
775
+ version = "1.0.109"
762
776
  source = "registry+https://github.com/rust-lang/crates.io-index"
763
- checksum = "09ee3a69cd2c7e06684677e5629b3878b253af05e4714964204279c6bc02cf0b"
777
+ checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
764
778
  dependencies = [
765
779
  "proc-macro2",
766
780
  "quote",
767
781
  "unicode-ident",
768
782
  ]
769
783
 
770
- [[package]]
771
- name = "threadpool"
772
- version = "1.8.1"
773
- source = "registry+https://github.com/rust-lang/crates.io-index"
774
- checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
775
- dependencies = [
776
- "num_cpus",
777
- ]
778
-
779
784
  [[package]]
780
785
  name = "tiff"
781
786
  version = "0.8.1"
@@ -789,18 +794,18 @@ dependencies = [
789
794
 
790
795
  [[package]]
791
796
  name = "toml"
792
- version = "0.5.10"
797
+ version = "0.5.11"
793
798
  source = "registry+https://github.com/rust-lang/crates.io-index"
794
- checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f"
799
+ checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
795
800
  dependencies = [
796
801
  "serde",
797
802
  ]
798
803
 
799
804
  [[package]]
800
805
  name = "unicode-ident"
801
- version = "1.0.6"
806
+ version = "1.0.8"
802
807
  source = "registry+https://github.com/rust-lang/crates.io-index"
803
- checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
808
+ checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
804
809
 
805
810
  [[package]]
806
811
  name = "wasi"
@@ -810,9 +815,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
810
815
 
811
816
  [[package]]
812
817
  name = "wasm-bindgen"
813
- version = "0.2.83"
818
+ version = "0.2.84"
814
819
  source = "registry+https://github.com/rust-lang/crates.io-index"
815
- checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
820
+ checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b"
816
821
  dependencies = [
817
822
  "cfg-if",
818
823
  "wasm-bindgen-macro",
@@ -820,9 +825,9 @@ dependencies = [
820
825
 
821
826
  [[package]]
822
827
  name = "wasm-bindgen-backend"
823
- version = "0.2.83"
828
+ version = "0.2.84"
824
829
  source = "registry+https://github.com/rust-lang/crates.io-index"
825
- checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142"
830
+ checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9"
826
831
  dependencies = [
827
832
  "bumpalo",
828
833
  "log",
@@ -835,9 +840,9 @@ dependencies = [
835
840
 
836
841
  [[package]]
837
842
  name = "wasm-bindgen-macro"
838
- version = "0.2.83"
843
+ version = "0.2.84"
839
844
  source = "registry+https://github.com/rust-lang/crates.io-index"
840
- checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810"
845
+ checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5"
841
846
  dependencies = [
842
847
  "quote",
843
848
  "wasm-bindgen-macro-support",
@@ -845,9 +850,9 @@ dependencies = [
845
850
 
846
851
  [[package]]
847
852
  name = "wasm-bindgen-macro-support"
848
- version = "0.2.83"
853
+ version = "0.2.84"
849
854
  source = "registry+https://github.com/rust-lang/crates.io-index"
850
- checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
855
+ checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6"
851
856
  dependencies = [
852
857
  "proc-macro2",
853
858
  "quote",
@@ -858,9 +863,9 @@ dependencies = [
858
863
 
859
864
  [[package]]
860
865
  name = "wasm-bindgen-shared"
861
- version = "0.2.83"
866
+ version = "0.2.84"
862
867
  source = "registry+https://github.com/rust-lang/crates.io-index"
863
- checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
868
+ checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d"
864
869
 
865
870
  [[package]]
866
871
  name = "weezl"
@@ -889,3 +894,12 @@ name = "winapi-x86_64-pc-windows-gnu"
889
894
  version = "0.4.0"
890
895
  source = "registry+https://github.com/rust-lang/crates.io-index"
891
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
+ ]
@@ -6,7 +6,7 @@ edition = "2018"
6
6
 
7
7
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8
8
  [dependencies]
9
- magnus = "0.4"
9
+ magnus = "0.5"
10
10
  image = "0.24"
11
11
  dominant_color = "0.3"
12
12
  palette_extract = "0.1"
@@ -3,7 +3,7 @@ use std::path::PathBuf;
3
3
  use magnus::{
4
4
  class, define_module, function, method,
5
5
  prelude::*, gc::register_mark_object, memoize,
6
- Error, ExceptionClass, RModule
6
+ Error, ExceptionClass, RModule, IntoValueFromNative
7
7
  };
8
8
 
9
9
  use image::{DynamicImage};
@@ -29,6 +29,10 @@ struct Color {
29
29
  b: u8
30
30
  }
31
31
 
32
+ // This is safe as Color does not contain any Ruby types
33
+ // check issue https://github.com/matsadler/magnus/issues/66
34
+ unsafe impl IntoValueFromNative for Color {}
35
+
32
36
  impl Color {
33
37
  fn new(r: u8, g: u8, b: u8) -> Self {
34
38
  Self { r, g, b }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Colordom
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.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.6.0
4
+ version: 0.7.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: 2022-12-18 00:00:00.000000000 Z
11
+ date: 2023-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.3.26
109
+ rubygems_version: 3.4.8
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Extract dominant colors from images