exiftool 0.3.1

A Rust wrapper for ExifTool.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[cfg(test)]
pub mod test_helpers {
    use std::path::{Path, PathBuf};
    use walkdir::WalkDir;

    pub fn list_files_recursive(dir: &Path) -> std::io::Result<Vec<PathBuf>> {
        WalkDir::new(dir)
            .into_iter()
            .filter_map(Result::ok)
            .filter(|e| e.file_type().is_file())
            .map(|e| Ok(e.into_path()))
            .collect()
    }

    pub fn test_image_path() -> PathBuf {
        PathBuf::from("data/valid/IMG_20170801_162043.jpg")
    }
}