diff options
author | gennyble <gen@nyble.dev> | 2023-10-09 19:17:36 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-10-09 19:17:36 -0500 |
commit | db422e0c983d7543d4d5e742630b29e36c55cbd4 (patch) | |
tree | 3808db6f3548a65b38fc62b67c1abc910fb0d5e5 /src/difference.rs | |
parent | 749ea24f3b33c8bfbfee0004df14202c2f75410c (diff) | |
download | colorsquash-db422e0c983d7543d4d5e742630b29e36c55cbd4.tar.gz colorsquash-db422e0c983d7543d4d5e742630b29e36c55cbd4.zip |
update
Diffstat (limited to 'src/difference.rs')
-rw-r--r-- | src/difference.rs | 4 |
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|` |