rudric 0.1.6

CLI tool for managing secrets in a secure way
Documentation
1
2
3
4
5
6
7
8
9
10
use std::path::PathBuf;

use anyhow::Result;

pub fn default_config_dir() -> Result<PathBuf> {
    let xdg_dirs = xdg::BaseDirectories::new()?;
    let config_dir = xdg_dirs.get_config_home();

    Ok(config_dir.join("rudric"))
}