Skip to content

gnilchee/rust-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages