feat: complete Rust port of claude-statusline

Port the entire 2236-line bash statusline script to Rust.
Implements all 25 sections, 3-phase layout engine (render, priority
drop, flex/justify), file-based caching with flock, 9-level terminal
width detection, trend sparklines, and deep-merge JSON config.

Release binary: 864K with LTO. Render time: <1ms warm.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Taylor Eernisse
2026-02-06 14:21:57 -05:00
commit b55d1aefd1
65 changed files with 12439 additions and 0 deletions

8
benches/render.rs Normal file
View File

@@ -0,0 +1,8 @@
use criterion::{criterion_group, criterion_main, Criterion};
fn bench_render(_c: &mut Criterion) {
// Benchmarks will be added when sections are implemented
}
criterion_group!(benches, bench_render);
criterion_main!(benches);