# Mail Extractor A Rust library to extract files from MIME type files and returns you a hashmap which will contain filename and it corresponding file content as bytes. ### How to use ``` Rust use std::collections::HashMap; use mail_extractor; fn get_files(file_stream: Vec) -> HashMap> { let extracted_file: HashMap> = mail_extractor::rewrite(file_stream); extracted_file } ``` ### Add the dependency in **Cargo.toml** ``` Rust [dependencies] mail_extractor = "0.1.2" ```