mod config; mod message; mod settings; mod state; mod theme; mod window_settings; mod view; use crate::{config::Config, settings::make_settings, state::State, theme::make_theme, window_settings::make_window_settings, view::view}; fn main() -> iced::Result { let config = Config::default(); iced::application("Schist", State::update, view) .settings(make_settings(&config.clone())) .theme(|state: &State| make_theme(state)) .window(make_window_settings(&config.clone())) .run() }