Skip to content

Commit e8cfcfe

Browse files
committed
Use color_quant::NeuQuant
`image` 0.23.11 deprecates its NeuQuant type in favor of `color_quant::NeuQuant`. This commit adds color_quant to the dependency graph. For #296
1 parent 24a9539 commit e8cfcfe

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Diff for: Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ section = "utility"
1919
priority = "optional"
2020

2121
[dependencies]
22+
color_quant = "1.1" # Use version required by image
2223
colored= "2.0.0"
2324
git2 = { version = "0.13.12", default-features = false }
2425
tokei = "12.0.0"

Diff for: src/onefetch/image_backends/sixel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use {
2+
color_quant::NeuQuant,
23
image::{
34
imageops::{colorops, FilterType},
4-
math::nq::NeuQuant,
55
DynamicImage, GenericImageView, ImageBuffer, Pixel, Rgb,
66
},
77
libc::{

0 commit comments

Comments
 (0)