use crate::{timetable::{TimetableGetter, BlockingTimetableGetter}, config::{ConfigStore, TomlConfigStore}}; pub struct Environment { pub timetable_getter: Box, pub config_store: Box } impl Default for Environment { fn default() -> Self { Self { config_store: Box::new(TomlConfigStore::default()), timetable_getter: Box::new(BlockingTimetableGetter::default()) } } }