Repository navigation
Major release: ubiquitous-language cleanup across the public API, a scriptable CLI, bounded-memory top-N search, and a dependency and MSRV refresh.
Breaking changes
- Public Rust and Python surfaces renamed:
FileMatch->FileComparison,percent_match->similarity_ratio,--max-lines->--max-file-lines,search_for_lines->search, and more. See the migration table inCHANGELOG.md. - CLI exit codes follow grep:
0match,1none,2error. Argsis#[non_exhaustive]; construct viaArgs::new.
Highlights
--min-similarity-ratio,--format <human|json>(with--with-content), and--no-interactive.--countsearches skip the full diff for files that cannot place. Output is byte-identical; on the Django 5.2.15 tree top-1 runs in about 43% of unbounded time, top-10 about 82%, top-20 about 94%.- All deps updated (
similar2 -> 3,pyo30.27 -> 0.28). Droppedattyforstd::io::IsTerminal(clears RUSTSEC-2021-0145). MSRV Rust 1.85, Python 3.11.
Full notes in CHANGELOG.md.
Install
Homebrew:
brew install noahbaculi/busca/busca
Python:
pip install busca_py