Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bschelske/no-tomatoes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏱ Rust Stopwatch 🍅🚫

Rust

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


🧠 Features

  • Start / pause / clear the stopwatch from the terminal.
  • Live timer display that updates in-place (00:00:00 format).
  • Thread-safe state with Arc<Mutex<T>>.
  • Clean separation between logic and user interaction.
  • Includes a test suite for timer logic.

▶️ Commands

Once running:

  • enter — Start or pause the stopwatch
  • c — Clear/reset the timer
  • q — Quit

🦀 Why?

This project started as a way to:

  • Practice core Rust concepts like Arc, Mutex, and std::thread
  • Handle user input and shared state in a clean way
  • Build a study tool that I actually use

🛠 Usage

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

About

A simple terminal stopwatch written in Rust — distraction free and WITHOUT any pomodoro

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages