A simple command-line stopwatch written in Rust.
Built because I wanted to learn Rust and make something I’d actually use while studying.
It’s like a pomodoro timer — but without the pomodoro...
no tomatoes
- Start / pause / clear the stopwatch from the terminal.
- Live timer display that updates in-place (
00:00:00format). - Thread-safe state with
Arc<Mutex<T>>. - Clean separation between logic and user interaction.
- Includes a test suite for timer logic.
Once running:
enter— Start or pause the stopwatchc— Clear/reset the timerq— Quit
This project started as a way to:
- Practice core Rust concepts like
Arc,Mutex, andstd::thread - Handle user input and shared state in a clean way
- Build a study tool that I actually use
To run this stopwatch, you’ll need Rust installed.
Then clone the repo and run the app:
git clone https://github.com/bschelske/no-tomatoes.git
cd no-tomatoes
cargo run