diff options
author | Canop <cano.petrole@gmail.com> | 2024-07-16 16:36:17 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2024-07-16 16:36:17 +0200 |
commit | 5ffb5cbbe2fd7c7ddc832adb84e8e082dc1ed04d (patch) | |
tree | 11f8e0bcaab672b8711cc7c5287232da88cfc28d | |
parent | d45e37f113ae7ae8e8463fb322828421fbb35e55 (diff) |
version 1.40.0v1.40.0
-rw-r--r-- | CHANGELOG.md | 10 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/file_sum/sum_computation.rs | 3 |
4 files changed, 11 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bc9774..bba5566 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 +<a name="v1.40.0"></a> +#### 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 @@ -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", @@ -1,6 +1,6 @@ [package] name = "broot" -version = "1.39.3-dev" +version = "1.40.0" authors = ["dystroy <denys.seguret@gmail.com>"] 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 7821ec3..7d46819 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::<NodeId>::default())); + let nodes = Arc::new(Mutex::new(rustc_hash::FxHashSet::<NodeId>::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 |