summaryrefslogtreecommitdiff
path: root/src/rust/external/lib.rs
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2018-04-21 01:01:04 +0000
committerIsis Lovecruft <isis@torproject.org>2018-05-08 21:03:37 +0000
commitaf182d4ab51d6a1a70559bbdcd4ab842aa855684 (patch)
treea39ec19013bdb85e4ad9aef1dd001747446923f2 /src/rust/external/lib.rs
parent3df37d7b6be4f7d6ece0cd12812595d5f91ea72f (diff)
downloadtor-af182d4ab51d6a1a70559bbdcd4ab842aa855684.tar.gz
tor-af182d4ab51d6a1a70559bbdcd4ab842aa855684.zip
rust: Add crypto crate and implement Rust wrappers for SHA2 code.
* FIXES #24659: https://bugs.torproject.org/24659
Diffstat (limited to 'src/rust/external/lib.rs')
-rw-r--r--src/rust/external/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rust/external/lib.rs b/src/rust/external/lib.rs
index 5fd74cf4c2..ffd38ac5da 100644
--- a/src/rust/external/lib.rs
+++ b/src/rust/external/lib.rs
@@ -9,8 +9,10 @@
extern crate libc;
+extern crate smartlist;
+
+pub mod crypto_digest;
mod crypto_rand;
mod external;
-pub use crypto_rand::*;
pub use external::*;