2 releases

0.1.1 Dec 27, 2023
0.1.0 Apr 17, 2022

#354 in Date and time

GPL-3.0-only

15KB
114 lines

tap_tempo

Calculate tempos by simply tapping

let mut tap_tempo = TapTempo::new();
let tempo = tap_tempo.tap();
assert!(tempo.is_none());

// After some time has passed ...

let tempo = tap_tempo.tap();
assert!(tempo.is_some());

Dependencies

~1MB
~18K SLoC