Releases: Censera/fsize
Releases · Censera/fsize
Release list
v0.2.0
fsize 0.2.0 Release Notes
Workspace
- Split into fsize-core (library) and fsize-cli (binary, installs as
fsize)
CLI
- Added -d/--disk-usage: mount-level total/used/available via statvfs
(Unix) and GetDiskFreeSpaceExW (Windows) - Added --exclude PATTERN (glob, repeatable, prunes matched subtrees
before traversal) - Added --max-depth N
- Added -L/--follow-symlinks
- Added --json output for size and disk-usage modes
- Added a total line when multiple paths are given
- Added a scanning progress indicator on stderr for walks over 300ms,
shown only on a real terminal - Merged -r/--raw and -o/--byte into one flag; --byte is now an alias
- --raw and --unit/--binary are now mutually exclusive; --metadata and
--disk-usage are mutually exclusive
Fixes
- Windows terminals no longer print raw ANSI escapes;
ENABLE_VIRTUAL_TERMINAL_PROCESSING is set at startup - --exclude now prunes matched subtrees before jwalk recurses into them,
instead of only hiding the matched entry after the fact - jwalk's default hidden-file skip is disabled; dotfiles are counted
- format_pre no longer truncates before formatting
Performance
- Replaced walkdir + rayon::par_bridge with jwalk, which parallelizes
directory traversal itself rather than only consumption of a
sequential producer. rayon still parallelizes per-entry metadata()
calls - Not yet benchmarked against the previous implementation on a large
tree
Packaging
- Package renamed fsize -> fsize-cli; fsize is taken on crates.io by an
unrelated crate. Binary output is unaffected - Added description, license, repository, and readme fields required
for publishing - Added a LICENSE file (MIT)
- fsize-core 0.2.0 was published before these fields existed and cannot
be republished or removed. Bumped to 0.2.1, yanked 0.2.0