69 Commits

Author SHA1 Message Date
andy.boot fead40b628 Increment version 2024-01-07 11:23:35 +00:00
andy.boot c8b61d2f46 dependency: upgrade to clap 4 2023-12-11 23:07:54 +00:00
andy.boot 7c54d41ace dependency: remove atty
Read input from clap
2023-11-09 23:23:05 +00:00
andy.boot 2fa14ca19c cargo update: update dependencies (#341) 2023-11-06 23:21:13 +00:00
andy.boot 2c23336794 Increment version
Request for security fix
https://github.com/bootandy/dust/issues/324
2023-05-05 20:40:52 +01:00
andy.boot a4ae013459 cargo update: update dependencies 2023-05-05 20:40:52 +01:00
andy.boot bdfd3c01a5 cargo update: update dependencies 2023-03-14 20:59:31 +00:00
andy.boot 2fe91806c7 Increment version 2023-03-14 08:18:23 +00:00
andy.boot 49a21b1121 Increment version 2023-01-29 10:24:36 +00:00
Alexander Kjäll fdbed14334 generate a man page as part of the build 2023-01-27 22:45:45 +00:00
Alexander Kjäll 83ef2525aa upgrade dependencies 2023-01-26 23:05:14 +00:00
Guillaume Gomez 72b811c278 Update sysinfo version to 0.26.7 2023-01-04 19:38:40 +00:00
Collin Styles 0a67191054 Add a direct dependency on the atty crate 2022-10-01 11:16:14 +01:00
andy.boot c363e5ff8b Fix: Only create large stack size if enough memory
Small boxes do not have enough memory to create a large stack

Conversely we want a large stack size for large boxes with a very highly
nested directory structure.

Version: New version
2022-08-31 21:14:56 +01:00
andy.boot 5103ebe0d8 Version: Increment version 2022-08-23 12:26:08 +01:00
Jedsek 81d52e6e3a Support for completions 2022-08-23 09:11:13 +01:00
andy.boot 5980858b39 Feature: Config file
Read flags for several params from config file.

This was a popular requested feature (many people want to run with -r on
by default).
2022-08-22 12:05:04 +01:00
andy.boot 164bec71a3 Update libs 2022-07-14 09:42:45 +01:00
andy.boot 11b5c7227f New Version 2022-07-14 08:53:45 +01:00
dependabot[bot] afc36a633f Bump regex from 1.5.4 to 1.5.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 09:00:43 +01:00
andy.boot fabb27908d Increment version 2022-02-26 11:47:06 +00:00
andy.boot 9f4a5daee6 Update library: Clap
Required several changes to main.rs as v3 had breaking changes.
2022-02-26 11:10:26 +00:00
andy.boot 27f0a015ef Update cargo packages 2022-02-26 11:10:26 +00:00
andy.boot 0301c7a058 Increment version
(skipped several due to build difficulties)
2021-09-19 13:50:10 +01:00
andy.boot 17e7390e25 Increment version
new flags added -e -v -t
2021-09-19 11:40:21 +01:00
andy.boot 124c19b5c9 Feature: Adding file types filter & F flag changed
-t = Show summary of types

-e = Filter by regex
	allows you to specify a file type like -e "\.txt$"

Change behaviour of '-f' flag - it now counts only files. Before it
counted files & directories. This was needed for compatibility with
the new '-e' filter flag
2021-09-19 11:12:23 +01:00
andy.boot 07ffd04950 Increment version
This version includes fix for the -f flag
2021-08-05 08:47:47 +01:00
andy.boot 8fddb24165 Increment version 2021-07-19 14:09:21 +01:00
andy.boot 42163abb73 Cargo: Remove num_cpus library. Ran update
Not needed since v0.6.0
Ran cargo update
2021-07-07 18:35:05 +01:00
andy.boot 02392881c5 Update version 2021-06-23 09:40:58 +01:00
andy.boot 00c7ce8f15 Large refactor. Use rayon, 10X performance boost
Code changes:
Removed ignore & channel crates. Using a single reciever thread to build
a hashmap to prevend duplicate inodes being reported gave a severe
performance penalty

Using rayon crate with some hand crafted file traversal has improved
performance aprox 10X

Behaviour changes:

Removed parameter 'limit by filesystem' - don't think this is used, and
I only added it as it was easy to add with the ignore crate.

Sym links will now not appear in the output tree unless using '-s'
'apparent-size' flag

Change behaviour of multiple args so that it unifies them and
compares them under one tree instead of treating them
individually: https://github.com/bootandy/dust/issues/136
2021-06-22 12:20:48 +01:00
andy.boot e1ffc92589 Merge branch 'master' into master 2021-06-08 10:24:31 +01:00
ttay 8a499201de Updated crossbeam-channel to 0.5 and ran Cargo update 2021-06-08 10:11:11 +01:00
QuarticCat 15a867636f Add wrap_help feature to clap 2021-06-05 20:39:59 +08:00
andy.boot 1b3d0b2724 Update packages 2021-01-16 15:42:39 +00:00
andy.boot 5b6b449cbd Upgrade packages 2020-11-25 13:46:48 +00:00
oToToT c261492325 encode non-printable characters
use stfu8 to encode utf-8 characters
2020-10-08 22:57:01 +01:00
andy.boot 2319c3032f Increment version for new release 2020-09-03 21:58:27 +01:00
andy.boot 4ea8d9339e Support listing directories by number of files
Based of https://github.com/bootandy/dust/pull/104

Idea is to allow users to find the number of files in each directory
instead of size.
2020-08-30 10:39:03 +01:00
andy.boot 109df305a3 Upgrade packages 2020-08-18 23:12:28 +01:00
andy.boot 2ca6fcc9ce Increment version 2020-08-02 14:26:33 +01:00
andy.boot 7cc7047b28 Move from assert_cli to assert_cmd
assert_cli is deprecated.
This allows us to use 'or' in the output of our integration tests
2020-03-28 15:06:40 +00:00
andy.boot 1953e107c2 Move everything to ignore instead of jwalk 2020-03-22 23:58:07 +00:00
andy.boot 9452049aff Increment version 2020-03-01 16:23:26 +00:00
Neel Chotai 26ae050f16 use LS_COLORS for directories 2020-03-01 00:51:32 +00:00
andy.boot bc0e376c88 New Version 2020-02-19 20:22:54 +00:00
andy.boot 603e6be7eb Large redesign
Use the whole width of the terminal assume width of 80 if none found

Show percentages in the final column. Show ASCII bars indicating usage
of the underlying directories in the space inbetween.

Display (height of terminal - 10) entries by default.

Reverse the output order so largest is at the bottom.

Break up tests. Change older tests to check real output of program.
2020-02-18 20:58:53 +00:00
andy.boot edf300893c Increment version 2020-02-09 10:08:41 +00:00
Adam Lesperance 0c7b05fec9 Fix get_metadata on windows
The MetadataExt functions are nightly-only right now so we need to call
the windows api ourselves to get the device number.  The winapi_util
package has a nice wrapper to do this for us.

The get_device function doesn't appear to be used anywhere so I removed
it.
2020-01-21 00:06:41 -06:00
andy.boot 352c0f7d90 Increment version number 2020-01-19 09:32:49 +00:00