about summary refs log tree commit diff
path: root/src/difference.rs
diff options
context:
space:
mode:
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|`