diff options
Diffstat (limited to 'src/file_sum')
-rw-r--r-- | src/file_sum/mod.rs | 1 | ||||
-rw-r--r-- | src/file_sum/sum_computation.rs | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/file_sum/mod.rs b/src/file_sum/mod.rs index 92abf3c..81832db 100644 --- a/src/file_sum/mod.rs +++ b/src/file_sum/mod.rs @@ -10,6 +10,7 @@ use { task_sync::Dam, }, ahash::AHashMap, + lazy_static::lazy_static, std::{ ops::AddAssign, path::{Path, PathBuf}, diff --git a/src/file_sum/sum_computation.rs b/src/file_sum/sum_computation.rs index 89f2a25..84e5072 100644 --- a/src/file_sum/sum_computation.rs +++ b/src/file_sum/sum_computation.rs @@ -5,8 +5,9 @@ use { path::*, task_sync::Dam, }, - crossbeam::channel, ahash::AHashMap, + crossbeam::channel, + lazy_static::lazy_static, rayon::{ThreadPool, ThreadPoolBuilder}, std::{ convert::TryInto, |