aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-05-26 01:58:33 -0700
committerbnewbold <bnewbold@robocracy.org>2017-05-26 01:58:33 -0700
commit0294cfc029ca3402c1070165a6c585fc56b3f199 (patch)
treec5dea65a2787b579150014767bbb54a0b7ec7499 /src/lib.rs
parente41e8ab92d038a99c97439e489071211da3329cb (diff)
downloadbad-hashish-0294cfc029ca3402c1070165a6c585fc56b3f199.tar.gz
bad-hashish-0294cfc029ca3402c1070165a6c585fc56b3f199.zip
WIP
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..3897634
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,26 @@
+// bad-hashish: a tool for recursively, remotely multi-hashing files
+// Copyright (C) 2017 Bryan Newbold <bnewbold@robocracy.org>
+// GPLv3
+
+#[macro_use]
+extern crate log;
+
+#[macro_use]
+extern crate error_chain;
+
+
+mod errors {
+ // Create the Error, ErrorKind, ResultExt, and Result types
+ error_chain! {
+ foreign_links {
+ Io(::std::io::Error);
+ }
+ }
+}
+pub use errors::*;
+
+pub fn bhash() -> Result<()> {
+
+
+ Ok(())
+}