Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 569 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 569 Bytes

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.