summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index e7a11a9..155c9e9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,9 @@
+mod lib;
+use lib::checksum;
+use std::path::Path;
+
fn main() {
- println!("Hello, world!");
+ let sum = checksum(Path::new("Cargo.toml")).unwrap();
+ sum.print();
}
+