feat: v0.2.0 - Performance optimization and distribution pipeline
- Implemented multi-threaded directory traversal using ignore::WalkParallel - Added dynamic thread allocation for balanced CPU utilization - Refactored core logic to single-pass, in-memory tree construction (O(N)) - Added --compare, --units, and --precision flags - Established SCM-neutral distribution pipeline (Makefile, release.sh, Homebrew) - Comprehensive updates to README.md, MANUAL.md, and CHANGELOG.md - Decoupled from SCM-specific workflows
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
class Sized < Formula
|
||||
desc "A modern, fast, and concurrent disk usage analyzer"
|
||||
homepage "https://gitea.speelman.ca/gamertan/sized"
|
||||
url "https://gitea.speelman.ca/gamertan/sized/archive/v0.2.0.tar.gz"
|
||||
sha256 "REPLACE_WITH_ACTUAL_SHA256" # Run `shasum -a 256 v0.2.0.tar.gz` after upload
|
||||
license "MIT"
|
||||
|
||||
depends_on "rust" => :build
|
||||
|
||||
def install
|
||||
system "cargo", "install", *std_cargo_args
|
||||
|
||||
# Install man page
|
||||
man1.install "sized.1"
|
||||
|
||||
# Generate and install shell completions
|
||||
generate_completions_from_executable(bin/"sized", "--completions")
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/sized", "--version"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user