The Clock type is a re-export of fugit_timer::Timer. This is a nice convenience feature (because I don't need to depend on fugit), but if I actually want to implement the timer trait, I also need access to other types, namely fugit::Instant and fugit::Duration.
I'd suggest either moving the Clock trait to a separate module and re-exporting Instant and Duration in that module as well (e.g. atat::clock::{Clock, Instant, Duration} or alternatively re-exporting fugit at the top level.
The
Clock
type is a re-export offugit_timer::Timer
. This is a nice convenience feature (because I don't need to depend onfugit
), but if I actually want to implement the timer trait, I also need access to other types, namely fugit::Instant and fugit::Duration.I'd suggest either moving the
Clock
trait to a separate module and re-exporting Instant and Duration in that module as well (e.g.atat::clock::{Clock, Instant, Duration}
or alternatively re-exportingfugit
at the top level.