cloud_terrastodon_config 0.36.0

Configuration helpers for the Cloud Terrastodon project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::config::Config;
use ordermap::OrderSet;
use serde::Deserialize;
use serde::Serialize;
use std::path::PathBuf;

#[derive(Debug, Default, Serialize, Deserialize, Clone, PartialEq)]
pub struct WorkDirsConfig {
    pub work_dirs: OrderSet<PathBuf>,
}

#[async_trait::async_trait]
impl Config for WorkDirsConfig {
    const FILE_SLUG: &'static str = "work_dirs";
}