Skip to documentation content
Branchcut
Evidence

Standard-library ledger

What Branchcut implements with Rust std instead of crates.

Cargo.toml contains an empty [dependencies] table. The executable uses Rust std only.

Common dependencyBranchcut implementation
clapstd::env::args_os and explicit parsing
globhand-written tokens, segments, and parser
globsetshared flat pattern program
walkdirstd::fs::read_dir traversal
ignorehierarchical ignore-rule state
regexdirect wildcard matching
anyhow / thiserrorone manual AppError
rayonbounded std::thread workers
serde_jsonstreaming JSON Lines escaping
shell helpersstd::process::Command
size / duration parsing cratesExact decimal/binary byte thresholds and fixed-duration/timestamp parsers in src/metadata.rs

Boundary

The documentation site has JavaScript dependencies because it is a separate Fumadocs application. Those packages are not linked into, invoked by, or required to distribute the Branchcut executable.

Content serialization implements schema-versioned JSONL, JSON documents, CSV, and TSV in src/cli/content_format.rs. The streaming decoder provides UTF BOM detection, UTF-16, Latin-1, Windows-1252, and raw input.

integrations/content-regex is a separate package whose manifest declares regex and whose own lockfile pins the dependency graph. It adds filename/path and line-oriented content regex to the branchcut-regex executable. The core dependency graph is empty. See STDLIB.md in the repository and the content guide.

On this page