X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=proxmox%2FCargo.toml;h=f7ea9012861420cb502a5db95c6f3f30539be1e4;hb=2d9a0188546f86c2d731f2422fa3f693738c3af6;hp=a344b9d47eef376e45ff01bcc471be720d6289f7;hpb=f42c189ee7238e3bf33fdd7be67c197887b4e1aa;p=proxmox.git diff --git a/proxmox/Cargo.toml b/proxmox/Cargo.toml index a344b9d4..f7ea9012 100644 --- a/proxmox/Cargo.toml +++ b/proxmox/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "proxmox" edition = "2018" -version = "0.1.37" +version = "0.12.0" authors = [ "Dietmar Maurer ", "Wolfgang Bumiller ", @@ -16,11 +16,11 @@ exclude = [ "debian" ] anyhow = "1.0" lazy_static = "1.4" libc = "0.2" -nix = "0.16" +nix = "0.19.1" # tools module: +base32 = { version = "0.4", optional = true } base64 = "0.12" -chrono = "0.4" endian_trait = { version = "0.6", features = ["arrays"] } regex = "1.2" serde = { version = "1.0", features = ["derive"] } @@ -32,30 +32,36 @@ serde_json = "1.0" # libc, nix, lazy_static # api module: -bytes = "0.5" -futures = "0.3" +bytes = "1.0" +futures = { version = "0.3", optional = true } http = "0.2" -hyper = { version = "0.13", optional = true } -rustyline = "6" -serde_derive = "1.0" +hyper = { version = "0.14", features = [ "full" ], optional = true } +percent-encoding = "2.1" +openssl = { version = "0.10", optional = true } +rustyline = "7" textwrap = "0.11" -tokio = { version = "0.2", features = [], optional = true } +tokio = { version = "1.0", features = [], optional = true } +tokio-stream = { version = "0.1.1", 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-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.4.0" } proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" } [features] -default = [ "router", "cli" ] +default = [ "cli", "router", "tfa", "u2f" ] sortable-macro = ["proxmox-sortable-macro"] # api: api-macro = ["proxmox-api-macro"] test-harness = [] cli = [ "router", "hyper", "tokio" ] -router = [ "hyper", "tokio" ] +router = [ "futures", "hyper", "tokio" ] +tfa = [ "openssl" ] +u2f = [ "base32" ] + +examples = ["tokio/macros", "u2f"] # tools: #valgrind = ["proxmox-tools/valgrind"]