use std::fs; fn main() { fs::create_dir_all("./path/to/dir").expect("An Error Occured!") }