diff options
Diffstat (limited to 'src/tarballer.rs')
-rw-r--r-- | src/tarballer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tarballer.rs b/src/tarballer.rs index f7a09fb..9333210 100644 --- a/src/tarballer.rs +++ b/src/tarballer.rs @@ -68,7 +68,7 @@ impl Tarballer { let buf = BufWriter::with_capacity(1024 * 1024, tee); let mut builder = Builder::new(buf); - let pool = rayon::Configuration::new().num_threads(2).build().unwrap(); + let pool = rayon::ThreadPoolBuilder::new().num_threads(2).build().unwrap(); pool.install(move || { for path in dirs { let src = Path::new(&self.work_dir).join(&path); |