lumina-framework 0.1.2

A beautiful, fast, and elegant web framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub struct AppConfig {
    pub name: String,
    pub env: String,
    pub debug: bool,
}

impl AppConfig {
    pub fn load() -> Self {
        Self {
            name: "Lumina".to_string(),
            env: "development".to_string(),
            debug: true,
        }
    }
}