about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2013-06-23 18:54:44 -0400
committerPalmer Cox <p@lmercox.com>2013-06-23 23:38:46 -0400
commitc5400a8830c0115af06c1a5fe4d04f6ba5f6751d (patch)
treeacea83f280b906fc1dbf6da89d678a9b72e471de
parentac4211ef52a3577f901ed4dc7f370b05ca4e638d (diff)
downloadrust-c5400a8830c0115af06c1a5fe4d04f6ba5f6751d.tar.gz
rust-c5400a8830c0115af06c1a5fe4d04f6ba5f6751d.zip
Create a crypto submodule and move the SHA-1 implementation into it.
-rw-r--r--src/libextra/crypto/sha1.rs (renamed from src/libextra/sha1.rs)0
-rw-r--r--src/libextra/std.rc5
2 files changed, 4 insertions, 1 deletions
diff --git a/src/libextra/sha1.rs b/src/libextra/crypto/sha1.rs
index 84b48c87890..84b48c87890 100644
--- a/src/libextra/sha1.rs
+++ b/src/libextra/crypto/sha1.rs
diff --git a/src/libextra/std.rc b/src/libextra/std.rc
index d4c85ef5136..98305e2766a 100644
--- a/src/libextra/std.rc
+++ b/src/libextra/std.rc
@@ -86,13 +86,16 @@ pub mod sort;
 pub mod dlist;
 pub mod treemap;
 
+// Crypto
+#[path="crypto/sha1.rs"]
+pub mod sha1;
+
 // And ... other stuff
 
 pub mod ebml;
 pub mod dbg;
 pub mod getopts;
 pub mod json;
-pub mod sha1;
 pub mod md4;
 pub mod tempfile;
 pub mod term;