Browse Source

Basic binary + library setup

develop
Drew Short 9 years ago
parent
commit
20a439d173
  1. 4
      Cargo.lock
  2. 2
      Cargo.toml
  3. 10
      README.md
  4. 10
      src/lib.rs
  5. 11
      src/main.rs
  6. 4
      starter_file.rs
  7. BIN
      target/debug/.fingerprint/Perceptual-Image-Hashing-839b6cba425a783b/dep-lib-Perceptual-Image-Hashing
  8. 1
      target/debug/.fingerprint/Perceptual-Image-Hashing-839b6cba425a783b/lib-Perceptual-Image-Hashing
  9. 1
      target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/bin-Perceptual_Image_Hashing
  10. BIN
      target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/dep-bin-Perceptual_Image_Hashing
  11. BIN
      target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/dep-lib-Perceptual_Image_Hashing
  12. 1
      target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/lib-Perceptual_Image_Hashing
  13. 1
      target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/bin-perceptual_image_hashing
  14. BIN
      target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/dep-bin-perceptual_image_hashing
  15. BIN
      target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/dep-lib-perceptual_image_hashing
  16. 1
      target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/lib-perceptual_image_hashing
  17. BIN
      target/debug/Perceptual_Image_Hashing
  18. BIN
      target/debug/libPerceptual_Image_Hashing.rlib
  19. BIN
      target/debug/libperceptual_image_hashing.rlib
  20. BIN
      target/debug/perceptual_image_hashing

4
Cargo.lock

@ -0,0 +1,4 @@
[root]
name = "perceptual_image_hashing"
version = "0.1.0"

2
Cargo.toml

@ -1,4 +1,4 @@
[package] [package]
name = "Perceptual-Image-Hashing"
name = "perceptual_image_hashing"
version = "0.1.0" version = "0.1.0"
authors = ["Drew Short <warrick@sothr.com>"] authors = ["Drew Short <warrick@sothr.com>"]

10
README.md

@ -1,5 +1,15 @@
# Perceptual Image Hashing # Perceptual Image Hashing
The goal of this library is to offer a utility for calculating perceptual hashes of images for the purpose of comparing images for similarity
# Examples
To Be Added
# FFI binding for non-rust usage
To Be Added
# License # License
Perceptual Image Hashing is licensed under the MIT license. See the LICENSE file in this directory for more information. Perceptual Image Hashing is licensed under the MIT license. See the LICENSE file in this directory for more information.

10
src/lib.rs

@ -0,0 +1,10 @@
// Copyright 2015 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.
pub fn hello(mut result: String) -> String {
let helloworld = "Hello, World!";
result.push_str(helloworld);
result
}

11
src/main.rs

@ -1,3 +1,12 @@
// Copyright 2015 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.
extern crate perceptual_image_hashing;
fn main() { fn main() {
println!("Hello, world!");
let mut string = String::new();
string = perceptual_image_hashing::hello(string);
println!("{}",string);
} }

4
starter_file.rs

@ -0,0 +1,4 @@
// Copyright 2015 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.

BIN
target/debug/.fingerprint/Perceptual-Image-Hashing-839b6cba425a783b/dep-lib-Perceptual-Image-Hashing

1
target/debug/.fingerprint/Perceptual-Image-Hashing-839b6cba425a783b/lib-Perceptual-Image-Hashing

@ -0,0 +1 @@
321910a51ef628c0

1
target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/bin-Perceptual_Image_Hashing

@ -0,0 +1 @@
0a89fe6635033f90

BIN
target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/dep-bin-Perceptual_Image_Hashing

BIN
target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/dep-lib-Perceptual_Image_Hashing

1
target/debug/.fingerprint/Perceptual_Image_Hashing-a7ed8d93327dd2a5/lib-Perceptual_Image_Hashing

@ -0,0 +1 @@
a6d6ed6fb8fcdaed

1
target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/bin-perceptual_image_hashing

@ -0,0 +1 @@
474bac8a6f506f47

BIN
target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/dep-bin-perceptual_image_hashing

BIN
target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/dep-lib-perceptual_image_hashing

1
target/debug/.fingerprint/perceptual_image_hashing-7e46c428cdf25a57/lib-perceptual_image_hashing

@ -0,0 +1 @@
b42c6e3992418ac4

BIN
target/debug/Perceptual_Image_Hashing

BIN
target/debug/libPerceptual_Image_Hashing.rlib

BIN
target/debug/libperceptual_image_hashing.rlib

BIN
target/debug/perceptual_image_hashing

Loading…
Cancel
Save