This crate has various utilty functions that I use in the programs I have written
Add rust-utils = "0.6.1" to Cargo.toml in your desired project
rust-utils = "0.6.1"