A DHash calculator for images. In Rust.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
use std::env; |
|
|
|
mod dhash; |
|
|
|
fn main() { |
|
let filename = env::args().nth(1).expect("Need a filename"); |
|
println!("{}: {}", dhash::dhash(&filename).unwrap_or("FAILURE".to_string()), filename); |
|
}
|
|
|