From ec1f72ae980d2ca87b628416b294ba2f97281e83 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sun, 15 Mar 2020 11:53:29 +0100 Subject: [PATCH] Revert "Expose thread_manager for debugging purposes" This reverts commit 2dc3cb40b6e9fa15cc5bd8febbce509dc1b341ee. --- Cargo.toml | 2 +- src/io.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b9be29d..ccb7d10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bdflib" -version = "0.3.6" +version = "0.3.5" authors = ["trivernis "] edition = "2018" license-file = "LICENSE" diff --git a/src/io.rs b/src/io.rs index bbf80ff..bff9520 100644 --- a/src/io.rs +++ b/src/io.rs @@ -12,7 +12,7 @@ use crossbeam_utils::sync::WaitGroup; const ENTRIES_PER_CHUNK: u32 = 100_000; #[derive(Debug)] -pub struct ThreadManager { +struct ThreadManager { pub sender_work: Sender, pub receiver_work: Receiver, pub sender_result: Sender, @@ -38,7 +38,7 @@ pub struct BDFWriter { head_written: bool, compressed: bool, compression_level: u32, - pub thread_manager: ThreadManager>, + thread_manager: ThreadManager>, } impl ThreadManager {