diff --git a/Cargo.toml b/Cargo.toml index 293a65a2..5ce3c237 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ percent-encoding = "2.1" pin-utils = "0.1.0" pin-project = "1.0" pathpatterns = "0.1.2" -proxmox = { version = "0.10.4", features = [ "sortable-macro", "api-macro", "websocket" ] } +proxmox = { version = "0.10.5", features = [ "sortable-macro", "api-macro", "websocket" ] } #proxmox = { git = "git://git.proxmox.com/git/proxmox", version = "0.1.2", features = [ "sortable-macro", "api-macro" ] } #proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro", "websocket" ] } proxmox-fuse = "0.1.1" diff --git a/src/bin/docgen.rs b/src/bin/docgen.rs index fa3b35ee..3f12fb76 100644 --- a/src/bin/docgen.rs +++ b/src/bin/docgen.rs @@ -9,31 +9,6 @@ use proxmox_backup::{ config, }; -fn dump_section_config(config: &SectionConfig) -> String { - - let mut res = String::new(); - - let plugin_count = config.plugins().len(); - - for plugin in config.plugins().values() { - - let name = plugin.type_name(); - let properties = plugin.properties(); - let skip = match plugin.id_property() { - Some(id) => vec![id], - None => Vec::new(), - }; - - if plugin_count > 1 { - res.push_str(&format!("\n**Section type** \'``{}``\'\n\n", name)); - } - - res.push_str(&dump_api_parameters(properties, "", ParameterDisplayStyle::Config, &skip)); - } - - res -} - fn get_args() -> (String, Vec) { let mut args = std::env::args();