]>
Commit | Line | Data |
---|---|---|
7b7e1413 FG |
1 | [package] |
2 | name = "proxmox-http" | |
3 | edition = "2018" | |
fff7b926 | 4 | version = "0.2.1" |
7b7e1413 FG |
5 | authors = [ |
6 | "Dietmar Maurer <dietmar@proxmox.com>", | |
7 | "Wolfgang Bumiller <w.bumiller@proxmox.com>", | |
8 | ] | |
9 | license = "AGPL-3" | |
10 | description = "Proxmox HTTP library" | |
11 | ||
12 | exclude = [ "debian" ] | |
13 | ||
14 | [dependencies] | |
5153e68c FG |
15 | anyhow = "1.0" |
16 | base64 = { version = "0.12", optional = true } | |
17 | futures = { version = "0.3", optional = true } | |
f305be95 | 18 | http = { version = "0.2", optional = true } |
5153e68c FG |
19 | hyper = { version = "0.14", features = [ "full" ], optional = true } |
20 | openssl = { version = "0.10", optional = true } | |
21 | tokio = { version = "1.0", features = [], optional = true } | |
6c502851 | 22 | tokio-openssl = { version = "0.6.1", optional = true } |
5153e68c FG |
23 | |
24 | proxmox = { path = "../proxmox", optional = true, version = "0.11.3", default-features = false } | |
7b7e1413 FG |
25 | |
26 | [features] | |
27 | default = [] | |
28 | ||
80b423f3 | 29 | client = [ "futures", "http-helpers", "openssl" ] |
7f56e077 | 30 | http-helpers = [ "base64", "http", "hyper", "tokio/io-util", "tokio-openssl", "proxmox" ] |
5153e68c | 31 | websocket = [ "base64", "futures", "hyper", "openssl", "proxmox/tokio", "tokio/io-util", "tokio/sync" ] |