gnilchee / rust-clock

Looping command-line clock written in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-clock

A looping command-line clock written in rust.

Dependencies

This makes use of the Time crate.

How to build your binary

  • Development (unoptimized)
cargo build
  • Release (optimized)
cargo build --release

Example output

user@~/rust_clock/target/release$ ./rust_clock
six seventeen in the evening
six eighteen in the evening

To Do

  • Make the looping cleaner so it just doesn't continue line by line, printing same time.
  • Clear the screen when time changes.

About

Looping command-line clock written in rust


Languages

Language:Rust 100.0%