aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
blob: 39b0377418ed55e47ee4251ee2adcc0d9afd77d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Deserialize;

#[derive(Deserialize)]
pub struct Config {
    pub default_path: String,
    pub projects: Option<Vec<ProjectConfig>>,
}

#[derive(Deserialize)]
pub struct ProjectConfig {
    pub name: Option<String>,
    pub path: Option<String>,
    pub url: String,
    pub description: Option<String>,
}