[package] name = "proxmox" edition = "2018" version = "0.1.35" authors = [ "Dietmar Maurer ", "Wolfgang Bumiller ", ] license = "AGPL-3" description = "Proxmox library" exclude = [ "debian" ] [dependencies] # General dependencies anyhow = "1.0" lazy_static = "1.4" libc = "0.2" nix = "0.16" # tools module: base64 = "0.12" chrono = "0.4" endian_trait = { version = "0.6", features = ["arrays"] } regex = "1.2" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" #valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true } # libc, nix, lazy_static # sys module: # libc, nix, lazy_static # api module: bytes = "0.5" futures = "0.3" http = "0.2" hyper = { version = "0.13", optional = true } rustyline = "6" serde_derive = "1.0" textwrap = "0.11" tokio = { version = "0.2", features = [], optional = true } url = "2.1" #regex, serde, serde_json # Macro crates: proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.1.8" } proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" } [features] default = [ "router", "cli" ] sortable-macro = ["proxmox-sortable-macro"] # api: api-macro = ["proxmox-api-macro"] test-harness = [] cli = [ "router", "hyper", "tokio" ] router = [ "hyper", "tokio" ] # tools: #valgrind = ["proxmox-tools/valgrind"]