about summary refs log tree commit diff
path: root/src/difference.rs
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2023-10-09 19:17:36 -0500
committergennyble <gen@nyble.dev>2023-10-09 19:17:36 -0500
commitdb422e0c983d7543d4d5e742630b29e36c55cbd4 (patch)
tree3808db6f3548a65b38fc62b67c1abc910fb0d5e5 /src/difference.rs
parent749ea24f3b33c8bfbfee0004df14202c2f75410c (diff)
downloadcolorsquash-db422e0c983d7543d4d5e742630b29e36c55cbd4.tar.gz
colorsquash-db422e0c983d7543d4d5e742630b29e36c55cbd4.zip
update
Diffstat (limited to 'src/difference.rs')
-rw-r--r--src/difference.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/difference.rs b/src/difference.rs
index 56e40a0..42c4c4f 100644
--- a/src/difference.rs
+++ b/src/difference.rs
@@ -1,6 +1,8 @@
 //! A set of difference functions you can use with [SquasherBuilder::difference]
 
-use rgb::RGB8;
+// rexport this so people don't need to add the rgb crate to their project. this
+// also helps avoid crate version mismatch
+pub use rgb::RGB8;
 
 /// A naïve comparison just summing the channel differences
 /// I.E. `|a.red - b.red| + |a.green - b.green| + |a.blue - b.blue|`