The [livesplit-core](https://docs.rs/livesplit-core) library is written in Rust and has a bunch of different libraries for creating timers.