mod api; mod app; mod cache; mod image_cache; mod pending_actions; mod filters; mod preferences_dialog; mod article_row; mod credentials; mod login_dialog; mod model; mod runtime; mod window; fn main() -> glib::ExitCode { // In development builds, point GSettings at the locally compiled schema. if cfg!(debug_assertions) { std::env::set_var("GSETTINGS_SCHEMA_DIR", env!("GSETTINGS_SCHEMA_DIR")); } // Start the tokio multi-thread runtime before the GTK app so that // reqwest/hyper can find it when API futures are spawned. runtime::init(); let app = app::FeedTheMonkeyApp::new(); app.run() }