Many people who have written C code for Arduino have at least heard of the millis() function at some point. It returns the number of milliseconds since the program started running. In avr-hal (a Rust library for AVR microcontrollers) there currently is no equivalent for it. Instead of waiting on someone to add that, let's see what it takes to build our own!