Browse Source

Updated dependency versions

develop
Drew Short 8 years ago
parent
commit
3073006ef4
  1. 10
      Cargo.toml
  2. 2
      src/cache.rs
  3. 4
      src/lib.rs

10
Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "pihash"
version = "0.2.8"
version = "0.2.9"
authors = ["Drew Short <warrick@sothr.com>"]
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/"
@ -14,10 +14,10 @@ crate-type = ["dylib", "rlib"]
[dependencies]
docopt = "0.6.78"
rustc-serialize = "0.3.16"
image = "0.6.0"
rustc-serialize = "0.3.18"
image = "0.7.0"
complex = "0.8.0"
dft = "0.4.1"
sha1 = "0.1.1"
libc = "0.2.4"
flate2 = "0.2.11"
libc = "0.2.7"
flate2 = "0.2.13"

2
src/cache.rs

@ -1,4 +1,4 @@
// Copyright 2015 Drew Short <drew@sothr.com>.
// Copyright 2016 Drew Short <drew@sothr.com>.
//
// Licensed under the MIT license<LICENSE-MIT or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.

4
src/lib.rs

@ -1,4 +1,4 @@
// Copyright 2015 Drew Short <drew@sothr.com>.
// Copyright 2016 Drew Short <drew@sothr.com>.
//
// Licensed under the MIT license<LICENSE-MIT or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.
@ -72,7 +72,7 @@ pub fn get_hamming_distance(hash1: u64, hash2: u64) -> u64 {
hash::calculate_hamming_distance(hash1, hash2)
}
// External proxies for the get_*hash methods
// External proxies for the get_*hash methods //
#[no_mangle]
pub extern "C" fn ext_get_ahash(path_char: *const libc::c_char) -> libc::uint64_t {

Loading…
Cancel
Save