X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Fconfig.rs;h=ab7fc81a9b52d36491f0434b2010044b76141b43;hb=cd92fd73365b29607ea7a578ce21cfcf0dd45b2a;hp=acb74f23733675eb72d5f629d92c208d5d41f5a7;hpb=f357390c15e573b03040a1c8e0db79cbc0f39e32;p=proxmox-backup.git diff --git a/src/config.rs b/src/config.rs index acb74f23..ab7fc81a 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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,12 +11,19 @@ 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; +pub mod verify; /// Check configuration directory permissions ///