rich_rust 0.2.2

A Rust port of Python's Rich library for beautiful terminal output
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Change: Replace Vec<i32> with SmallVec<[i32; 2]> in ControlCode::params

### Isomorphism Proof

- **Ordering preserved:** yes - SmallVec maintains insertion order identically to Vec
- **Tie-breaking unchanged:** N/A - no tie-breaking logic
- **Floating-point:** N/A - uses i32 only
- **RNG seeds:** N/A - no randomness
- **Golden outputs:** All 1169 tests pass; demo output identical

### Verification
- `cargo test --lib` passes (1169 tests)
- `cargo check --all-targets` passes
- Functionality identical - SmallVec is API-compatible with Vec

### Performance Impact
- Eliminates heap allocation for control codes with 0-2 parameters (>95% of cases)
- Stack allocation for SmallVec<[i32; 2]> uses 16 bytes inline vs heap pointer + allocation