]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/config.rs
unbreak build
[proxmox-backup.git] / src / config.rs
index 71052d23dcabcd7789aaf886c9b592bdfdabfd53..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};
@@ -11,11 +11,18 @@ use openssl::x509::{X509Builder};
 use openssl::pkey::PKey;
 
 use proxmox::tools::fs::{CreateOptions, replace_file};
-use proxmox::tools::try_block;
+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;
 
 /// Check configuration directory permissions
 ///