crabidy-server and cbd-tui become libraries with thin mains: crabidy_server::serve(addr) hosts the whole server stack, cbd_tui::run(config) the client loops. The new cbd binary logs both halves to one file, starts the server in-process, waits for the socket (adopting an already-running standalone server on an occupied port), and runs the TUI against it over the unchanged localhost gRPC wire. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||