diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bc9774b..bba55663 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ -### next -- You can now define preview transformers to be applied before preview. They allow for example previewing PDF or Office files, or beautifying JSON files. Edit the `preview_transformers` entry in your conf.hjson file (see https://github.com/Canop/broot/blob/main/resources/default-conf/conf.hjson) +### v1.40.0 - 2024-07-16 + +#### Major Feature: preview transformers +You can now define preview transformers to be applied before preview. +They allow for example previewing PDF or Office files, or beautifying JSON files. +Edit the `preview_transformers` array in your conf.hjson file. +See https://dystroy.org/broot/conf_file/#preview +#### Fixes - fix search on root - Fix #904 - fix some verb cycling problems - Fix #902 diff --git a/Cargo.lock b/Cargo.lock index c256f611..07304679 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -210,7 +210,7 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" [[package]] name = "broot" -version = "1.39.3-dev" +version = "1.40.0" dependencies = [ "ansi_colours", "base64 0.21.7", diff --git a/Cargo.toml b/Cargo.toml index 11e7d715..8deaaa4a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "broot" -version = "1.39.3-dev" +version = "1.40.0" authors = ["dystroy "] repository = "https://github.com/Canop/broot" homepage = "https://dystroy.org/broot" diff --git a/src/file_sum/sum_computation.rs b/src/file_sum/sum_computation.rs index 7821ec3a..7d468190 100644 --- a/src/file_sum/sum_computation.rs +++ b/src/file_sum/sum_computation.rs @@ -12,7 +12,6 @@ use { }, rustc_hash::{ FxHashMap, - FxHashSet, }, std::{ convert::TryInto, @@ -93,7 +92,7 @@ impl DirSummer { // to avoid counting twice a node, we store their id in a set #[cfg(unix)] - let nodes = Arc::new(Mutex::new(FxHashSet::::default())); + let nodes = Arc::new(Mutex::new(rustc_hash::FxHashSet::::default())); // busy is the number of directories which are either being processed or queued // We use this count to determine when threads can stop waiting for tasks