move proxmox-backup-debug back to main crate

we want to add something to it that needs access to the
proxmox_backup::api2 stuff, so it cannot live in a sub crate

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-09-21 12:11:13 +02:00 committed by Thomas Lamprecht
parent 3f742f952a
commit d6fcc1170a
9 changed files with 5 additions and 24 deletions

View File

@ -33,7 +33,6 @@ members = [
"proxmox-backup-banner", "proxmox-backup-banner",
"proxmox-backup-client", "proxmox-backup-client",
"proxmox-backup-debug",
"proxmox-file-restore", "proxmox-file-restore",
"proxmox-restore-daemon", "proxmox-restore-daemon",
"pxar-bin", "pxar-bin",

View File

@ -45,7 +45,6 @@ SUBCRATES := \
pbs-tools \ pbs-tools \
proxmox-backup-banner \ proxmox-backup-banner \
proxmox-backup-client \ proxmox-backup-client \
proxmox-backup-debug \
proxmox-file-restore \ proxmox-file-restore \
proxmox-restore-daemon \ proxmox-restore-daemon \
pxar-bin pxar-bin
@ -180,7 +179,6 @@ $(COMPILED_BINS) $(COMPILEDIR)/dump-catalog-shell-cli $(COMPILEDIR)/docgen: .do-
--bin proxmox-backup-banner \ --bin proxmox-backup-banner \
--package proxmox-backup-client \ --package proxmox-backup-client \
--bin proxmox-backup-client \ --bin proxmox-backup-client \
--package proxmox-backup-debug \
--bin proxmox-backup-debug \ --bin proxmox-backup-debug \
--package proxmox-file-restore \ --package proxmox-file-restore \
--bin proxmox-file-restore \ --bin proxmox-file-restore \

View File

@ -1 +0,0 @@
debian/proxmox-backup-debug.bc proxmox-backup-debug

View File

@ -1,4 +1,5 @@
debian/proxmox-backup-manager.bc proxmox-backup-manager debian/proxmox-backup-manager.bc proxmox-backup-manager
debian/proxmox-backup-debug.bc proxmox-backup-debug
debian/proxmox-tape.bc proxmox-tape debian/proxmox-tape.bc proxmox-tape
debian/pmtx.bc pmtx debian/pmtx.bc pmtx
debian/pmt.bc pmt debian/pmt.bc pmt

View File

@ -1,18 +0,0 @@
[package]
name = "proxmox-backup-debug"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
[dependencies]
anyhow = "1.0"
walkdir = "2"
serde_json = "1.0"
proxmox = { version = "0.13.3", features = [ "api-macro", "cli" ] }
pbs-config = { path = "../pbs-config" }
pbs-client = { path = "../pbs-client" }
pbs-datastore = { path = "../pbs-datastore" }
pbs-runtime = { path = "../pbs-runtime" }
pbs-tools = { path = "../pbs-tools" }

View File

@ -1,7 +1,7 @@
use proxmox::api::cli::{run_cli_command, CliCommandMap, CliEnvironment}; use proxmox::api::cli::{run_cli_command, CliCommandMap, CliEnvironment};
mod inspect; mod proxmox_backup_debug;
mod recover; use proxmox_backup_debug::*;
fn main() { fn main() {
let cmd_def = CliCommandMap::new() let cmd_def = CliCommandMap::new()

View File

@ -0,0 +1,2 @@
pub mod inspect;
pub mod recover;