flake reorg

This commit is contained in:
Robin Appelman 2024-01-14 18:45:16 +01:00
commit a603ec8cfa
9 changed files with 666 additions and 451 deletions

View file

@ -26,7 +26,7 @@ pub enum Error {
async fn main() -> Result<(), MainError> {
tracing_subscriber::fmt::init();
let mut args: HashMap<_, _> = dotenv::vars().collect();
let mut args: HashMap<_, _> = dotenvy::vars().collect();
let store = Store::new(args.get("STORAGE_ROOT").expect("no STORAGE_ROOT set"));
let state_path = PathBuf::from(args.remove("STATE_FILE").expect("no STATE_FILE set"));
let backup = Backup::new(store);