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 +4 -4
- data/ext/colordom/Cargo.lock +121 -107
- data/ext/colordom/Cargo.toml +1 -1
- data/ext/colordom/src/lib.rs +5 -1
- data/lib/colordom/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70f1d73f8533fa1ee0d81528ed8c64ec6ce57c01d98b37a5aa9f996ce057c64c
|
4
|
+
data.tar.gz: 20fdd1381f9de5ae90531f0c11ab03b464bfc863b5147b6c7a787c3708e190f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e9e59022a659db0c912a3d588d2f0262377b4eb9e6d06595a780ab679bfc017fb708e25caad5dea12da123f19b7b6bfdcb619715f2191791d36600b4d0859de
|
7
|
+
data.tar.gz: e79de7a1f6e3e321c37a5f2be2daa2222b19a71c2a1278443a11a207b1cee69d17aa5a0ebd99514561d41a169bba5751a60187374fe517ffff1a86fcdf9948bc
|
data/ext/colordom/Cargo.lock
CHANGED
@@ -53,9 +53,9 @@ dependencies = [
|
|
53
53
|
|
54
54
|
[[package]]
|
55
55
|
name = "bit_field"
|
56
|
-
version = "0.10.
|
56
|
+
version = "0.10.2"
|
57
57
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
58
|
-
checksum = "
|
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.
|
68
|
+
version = "3.12.0"
|
69
69
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
70
|
-
checksum = "
|
70
|
+
checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
|
71
71
|
|
72
72
|
[[package]]
|
73
73
|
name = "bytemuck"
|
74
|
-
version = "1.
|
74
|
+
version = "1.13.1"
|
75
75
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
76
|
-
checksum = "
|
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.
|
101
|
+
version = "1.6.1"
|
102
102
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
103
|
-
checksum = "
|
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.
|
139
|
+
version = "0.5.7"
|
140
140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
141
|
-
checksum = "
|
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.
|
149
|
+
version = "0.8.3"
|
150
150
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
151
|
-
checksum = "
|
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.
|
160
|
+
version = "0.9.14"
|
161
161
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
162
|
-
checksum = "
|
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.
|
173
|
+
version = "0.8.15"
|
174
174
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
175
|
-
checksum = "
|
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.
|
194
|
+
version = "1.8.1"
|
195
195
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
196
|
-
checksum = "
|
196
|
+
checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
|
197
197
|
|
198
198
|
[[package]]
|
199
199
|
name = "exr"
|
200
|
-
version = "1.
|
200
|
+
version = "1.6.3"
|
201
201
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
202
|
-
checksum = "
|
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
|
-
"
|
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.
|
248
|
+
version = "0.3.28"
|
248
249
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
249
|
-
checksum = "
|
250
|
+
checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
|
250
251
|
|
251
252
|
[[package]]
|
252
253
|
name = "futures-sink"
|
253
|
-
version = "0.3.
|
254
|
+
version = "0.3.28"
|
254
255
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
255
|
-
checksum = "
|
256
|
+
checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
|
256
257
|
|
257
258
|
[[package]]
|
258
259
|
name = "getrandom"
|
259
|
-
version = "0.2.
|
260
|
+
version = "0.2.9"
|
260
261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
261
|
-
checksum = "
|
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.
|
273
|
+
version = "0.12.0"
|
273
274
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
274
|
-
checksum = "
|
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.
|
283
|
+
version = "0.3.1"
|
283
284
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
284
|
-
checksum = "
|
285
|
+
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
285
286
|
|
286
287
|
[[package]]
|
287
288
|
name = "half"
|
288
|
-
version = "2.1
|
289
|
+
version = "2.2.1"
|
289
290
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
290
|
-
checksum = "
|
291
|
+
checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0"
|
291
292
|
dependencies = [
|
292
293
|
"crunchy",
|
293
294
|
]
|
294
295
|
|
295
296
|
[[package]]
|
296
297
|
name = "hermit-abi"
|
297
|
-
version = "0.
|
298
|
+
version = "0.2.6"
|
298
299
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
299
|
-
checksum = "
|
300
|
+
checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
|
300
301
|
dependencies = [
|
301
302
|
"libc",
|
302
303
|
]
|
303
304
|
|
304
305
|
[[package]]
|
305
306
|
name = "image"
|
306
|
-
version = "0.24.
|
307
|
+
version = "0.24.6"
|
307
308
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
308
|
-
checksum = "
|
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
|
-
"
|
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.
|
335
|
+
version = "0.3.61"
|
335
336
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
336
|
-
checksum = "
|
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.
|
373
|
+
version = "0.2.141"
|
373
374
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
374
|
-
checksum = "
|
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.
|
408
|
+
version = "0.5.3"
|
408
409
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
409
|
-
checksum = "
|
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.
|
419
|
+
version = "0.4.1"
|
419
420
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
420
|
-
checksum = "
|
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.
|
436
|
+
version = "0.8.0"
|
436
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
437
|
-
checksum = "
|
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.
|
469
|
+
version = "7.1.3"
|
469
470
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
470
|
-
checksum = "
|
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.
|
509
|
+
version = "1.15.0"
|
509
510
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
510
|
-
checksum = "
|
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.
|
519
|
+
version = "1.17.1"
|
519
520
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
520
|
-
checksum = "
|
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.
|
598
|
+
version = "1.0.56"
|
598
599
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
599
|
-
checksum = "
|
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.
|
616
|
+
version = "1.0.26"
|
607
617
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
608
|
-
checksum = "
|
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.
|
655
|
+
version = "1.7.0"
|
646
656
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
647
|
-
checksum = "
|
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.
|
665
|
+
version = "1.11.0"
|
656
666
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
657
|
-
checksum = "
|
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.
|
677
|
+
version = "0.9.71"
|
668
678
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
669
|
-
checksum = "
|
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.
|
686
|
+
version = "0.9.71"
|
677
687
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
678
|
-
checksum = "
|
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.
|
701
|
+
version = "0.1.2"
|
688
702
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
689
|
-
checksum = "
|
703
|
+
checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
690
704
|
|
691
705
|
[[package]]
|
692
706
|
name = "regex"
|
693
|
-
version = "1.7.
|
707
|
+
version = "1.7.3"
|
694
708
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
695
|
-
checksum = "
|
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.
|
718
|
+
version = "0.6.29"
|
705
719
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
706
|
-
checksum = "
|
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.
|
736
|
+
version = "1.0.159"
|
729
737
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
730
|
-
checksum = "
|
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.
|
766
|
+
version = "0.9.8"
|
753
767
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
754
|
-
checksum = "
|
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.
|
775
|
+
version = "1.0.109"
|
762
776
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
763
|
-
checksum = "
|
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.
|
797
|
+
version = "0.5.11"
|
793
798
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
794
|
-
checksum = "
|
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.
|
806
|
+
version = "1.0.8"
|
802
807
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
803
|
-
checksum = "
|
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.
|
818
|
+
version = "0.2.84"
|
814
819
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
815
|
-
checksum = "
|
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.
|
828
|
+
version = "0.2.84"
|
824
829
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
825
|
-
checksum = "
|
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.
|
843
|
+
version = "0.2.84"
|
839
844
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
840
|
-
checksum = "
|
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.
|
853
|
+
version = "0.2.84"
|
849
854
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
850
|
-
checksum = "
|
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.
|
866
|
+
version = "0.2.84"
|
862
867
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
863
|
-
checksum = "
|
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
|
+
]
|
data/ext/colordom/Cargo.toml
CHANGED
data/ext/colordom/src/lib.rs
CHANGED
@@ -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 }
|
data/lib/colordom/version.rb
CHANGED
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.
|
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:
|
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.
|
109
|
+
rubygems_version: 3.4.8
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Extract dominant colors from images
|