[package]
name = "proxmox"
edition = "2018"
-version = "0.3.6"
+version = "0.12.0"
authors = [
"Dietmar Maurer <dietmar@proxmox.com>",
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
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"] }
# libc, nix, lazy_static
# api module:
-bytes = "0.5"
+bytes = "1.0"
futures = { version = "0.3", optional = true }
http = "0.2"
-hyper = { version = "0.13", optional = true }
+hyper = { version = "0.14", features = [ "full" ], optional = true }
percent-encoding = "2.1"
openssl = { version = "0.10", optional = true }
-rustyline = "6"
-serde_derive = "1.0"
+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.2.0" }
+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", "websocket" ]
+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" ]
-websocket = [ "futures", "hyper", "openssl", "tokio/sync", "tokio/io-util", "openssl" ]
+router = [ "futures", "hyper", "tokio" ]
+tfa = [ "openssl" ]
+u2f = [ "base32" ]
+
+examples = ["tokio/macros", "u2f"]
# tools:
#valgrind = ["proxmox-tools/valgrind"]