quick_diff_me/lib.rs
1#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
2
3mod app;
4use app::{subscription, update, view};
5use iced::Font;
6mod core;
7use core::{
8 consts::{APP_THEME, APP_TITLE},
9 font::app_default_font,
10};
11
12/// app entry point
13pub fn run() -> iced::Result {
14 let app = iced::application(APP_TITLE, update::handle, view::handle)
15 .default_font(Font::with_name(app_default_font()))
16 .subscription(subscription::handle)
17 .theme(|_state| APP_THEME);
18 app.run()
19}