src/backup/manifest.rs: new class to generate/parse index.json

This commit is contained in:
Dietmar Maurer
2019-10-12 17:58:08 +02:00
parent ad6e5a6f51
commit 59e9ba01c6
3 changed files with 80 additions and 27 deletions

View File

@ -103,7 +103,6 @@
//!
//! Not sure if this is better. TODO
pub const MANIFEST_BLOB_NAME: &str = "index.json.blob";
pub const CATALOG_BLOB_NAME: &str = "catalog.blob";
#[macro_export]
@ -119,6 +118,9 @@ macro_rules! PROXMOX_BACKUP_READER_PROTOCOL_ID_V1 {
mod file_formats;
pub use file_formats::*;
mod manifest;
pub use manifest::*;
mod crypt_config;
pub use crypt_config::*;