telar 0.1.5

A modular Rust UI framework with its own template language, reactive signals and a self-contained renderer.
Documentation
use platform_core::WindowConfig;

#[derive(Clone)]
pub struct AppConfig {
    pub window: WindowConfig,
    pub font_paths: Vec<std::path::PathBuf>,
    pub font_data: Vec<Vec<u8>>,
}

impl Default for AppConfig {
    fn default() -> Self {
        Self {
            window: WindowConfig::default(),
            font_paths: Vec::new(),
            font_data: Vec::new(),
        }
    }
}

impl From<WindowConfig> for AppConfig {
    fn from(window: WindowConfig) -> Self {
        Self {
            window,
            ..Self::default()
        }
    }
}