wora 0.0.11

A framework for building applications (daemons, etc) that run in different environments (Linux, Kubernetes, etc).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::path::PathBuf;

#[derive(Clone, Debug)]
pub struct Dirs {
    pub root_dir: PathBuf,
    pub log_root_dir: PathBuf,
    pub metadata_root_dir: PathBuf,
    pub data_root_dir: PathBuf,
    pub runtime_root_dir: PathBuf,
    pub cache_root_dir: PathBuf,
    pub secrets_root_dir: PathBuf,
}