]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/config.rs
server: rest: refactor code to avoid multiple log_response calls
[proxmox-backup.git] / src / config.rs
index f7d904fa9e4dcaa174837a86fe4461c2e854bfce..c2ac6da10fef2b7a589f214f92b14196f22d8f95 100644 (file)
@@ -3,7 +3,7 @@
 //! This library contains helper to read, parse and write the
 //! configuration files.
 
-use failure::*;
+use anyhow::{bail, format_err, Error};
 use std::path::PathBuf;
 use nix::sys::stat::Mode;
 use openssl::rsa::{Rsa};
@@ -15,11 +15,14 @@ use proxmox::try_block;
 
 use crate::buildcfg;
 
+pub mod acl;
+pub mod cached_user_info;
 pub mod datastore;
+pub mod jobstate;
+pub mod network;
 pub mod remote;
+pub mod sync;
 pub mod user;
-pub mod acl;
-pub mod cached_user_info;
 
 /// Check configuration directory permissions
 ///