aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
blob: 4de902192f9bea56acd0fc3920f79a2973a3e0b5 (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: String,
    pub path: Option<String>,
    pub url: String,
    pub description: Option<String>,
}