A terminal app (ratatui) to track work shifts, built on stable Rust, edition 2024. - Cargo.toml: eight well-known crates, each with a comment saying why: ratatui (UI), jiff (dates and time zones), serde + toml + serde_json (files), directories (per-OS folders), arboard (clipboard), anyhow. - .cargo/config.toml: static C runtime on Windows, so the .exe runs without the Visual C++ Redistributable; `cargo lint` alias. - rustfmt.toml: one formatting style for `cargo fmt`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5 lines
185 B
TOML
5 lines
185 B
TOML
# `cargo fmt` formats all the code the same way. Run it after editing.
|
|
max_width = 110
|
|
# Keep short expressions on one line (like `if a { b } else { c }`).
|
|
use_small_heuristics = "Max"
|