ADR 0001: No dependencies

Context

A terminal UI runtime needs raw mode, signals, poll, a pseudo-terminal for tests, grapheme segmentation and display width. The usual Rust stack brings 50 to 80 crates for this (docs/COMPARISON.md). Each crate is code shipped without being written or reviewed here, and an advisory in any of them becomes ours.

Decision

petitcarnets depends on nothing but the standard library. About twenty libc functions are declared in src/sys.rs and its submodules, the only place unsafe is allowed (unsafe_code = "deny" everywhere else). The Unicode tables are generated by committed scripts (scripts/gen-grapheme-table.py, scripts/gen-width-tables.py) from pinned upstream data, and checked against Go's results by fixtures.

Consequences