use std::time::Duration;
#[cfg_attr(test, mockall::automock)]
pub(crate) trait Sleeper: Send + Sync {
fn sleep(&self, duration: Duration);
}
pub(crate) struct ThreadSleeper;
impl Sleeper for ThreadSleeper {
fn sleep(&self, duration: Duration) {
std::thread::sleep(duration);
}
}
pub mod app;
pub mod domain;
pub mod infra;
pub mod ui;
pub mod runtime;
pub use domain::agent;
pub use infra::{db, git, version};
pub use ui::icon;