From db422e0c983d7543d4d5e742630b29e36c55cbd4 Mon Sep 17 00:00:00 2001 From: gennyble Date: Mon, 9 Oct 2023 19:17:36 -0500 Subject: update --- src/difference.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/difference.rs') 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|` -- cgit 1.4.1-3-g733a5