1 2 3 4 5 6 7 8 9
mod lib; use lib::checksum; use std::path::Path; fn main() { let sum = checksum(Path::new("Cargo.toml")).unwrap(); sum.print(); }