From c5400a8830c0115af06c1a5fe4d04f6ba5f6751d Mon Sep 17 00:00:00 2001 From: Palmer Cox
Date: Sun, 23 Jun 2013 18:54:44 -0400 Subject: [PATCH] Create a crypto submodule and move the SHA-1 implementation into it. --- src/libextra/{ => crypto}/sha1.rs | 0 src/libextra/std.rc | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename src/libextra/{ => crypto}/sha1.rs (100%) diff --git a/src/libextra/sha1.rs b/src/libextra/crypto/sha1.rs similarity index 100% rename from src/libextra/sha1.rs rename to src/libextra/crypto/sha1.rs diff --git a/src/libextra/std.rc b/src/libextra/std.rc index d4c85ef51362..98305e2766a0 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;