From 42cfac50aaccd848ee7c123cfcf73a05fe84ccf9 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Sun, 14 May 2017 16:28:19 -0500 Subject: [PATCH] Starting work on patch 6 --- Cargo.toml | 2 +- src/hash/ahash.rs | 2 +- src/hash/dhash.rs | 2 +- src/hash/mod.rs | 2 +- src/hash/phash.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2c4f162..a45e911 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pihash" -version = "0.3.5" +version = "0.3.6" authors = ["Drew Short "] description = "A simple library for generating perceptual hashes for images and comparing images based on their perceptual hashes." repository = "https://github.com/warricksothr/Perceptual-Image-Hashing/" diff --git a/src/hash/ahash.rs b/src/hash/ahash.rs index 6e32cdc..277dd92 100644 --- a/src/hash/ahash.rs +++ b/src/hash/ahash.rs @@ -5,7 +5,7 @@ use super::{HashType, PerceptualHash, Precision, PreparedImage}; use super::prepare_image; -use super::image::{GenericImage, Pixel}; +use super::image::Pixel; use std::path::Path; use cache::Cache; diff --git a/src/hash/dhash.rs b/src/hash/dhash.rs index d5748d8..6f7ac1c 100644 --- a/src/hash/dhash.rs +++ b/src/hash/dhash.rs @@ -5,7 +5,7 @@ use super::{HashType, PerceptualHash, Precision, PreparedImage}; use super::prepare_image; -use super::image::{GenericImage, Pixel}; +use super::image::Pixel; use std::path::Path; use cache::Cache; diff --git a/src/hash/mod.rs b/src/hash/mod.rs index 482a182..9ab1900 100644 --- a/src/hash/mod.rs +++ b/src/hash/mod.rs @@ -12,7 +12,7 @@ mod phash; use std::path::Path; use std::f64; -use self::image::{Pixel, FilterType}; +use self::image::FilterType; use cache::Cache; // Constants // diff --git a/src/hash/phash.rs b/src/hash/phash.rs index e27a0fd..97da8a6 100644 --- a/src/hash/phash.rs +++ b/src/hash/phash.rs @@ -7,7 +7,7 @@ use super::dft; use super::dft::Transform; use super::{HashType, PerceptualHash, Precision, PreparedImage}; use super::prepare_image; -use super::image::{GenericImage, Pixel}; +use super::image::Pixel; use std::path::Path; use cache::Cache;