3JRIW3OEB5GC4QRICM5JRRRMKTQPM6VMBC5YTVPIA6ERWHNAIORQC
FANJLREUGPFYMGW5DJ4YNQWQB5LMORUVMSEOFAWVFNMFXVXZI3NAC
5GJRHBKCSWISBPJOAXWMXY3LMMD5GFOEHM3AEUKI5J7D4M3XM5GQC
SY4Q66QFFEQ2BPMJ5G7MSZPX52HM6QTHZXJWL2VVFB2JMWZQLJBQC
use std::path::Path;
use std::path::{Path, PathBuf};
let config_path = directories::BaseDirs::new() .and_then(|bd| Some(bd.config_dir().to_owned())) .unwrap_or(PathBuf::from(".")) .join("nfp") .join("config.toml");
let config_path = directories::BaseDirs::new()
.and_then(|bd| Some(bd.config_dir().to_owned()))
.unwrap_or(PathBuf::from("."))
.join("nfp")
.join("config.toml");
fs::File::open("/home/maniac/.config/nfp/config.toml")?.read_to_string(&mut config_str)?;
fs::File::open(config_path)?.read_to_string(&mut config_str)?;
directories = "4.0.1"